|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.dom.NodeOverNodeInfo
net.sf.saxon.dom.AttrOverNodeInfo
public class AttrOverNodeInfo
This class is an implementation of the DOM Attr class that wraps a Saxon NodeInfo representation of an attribute or namespace node.
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.dom.NodeOverNodeInfo |
|---|
node |
| Constructor Summary | |
|---|---|
AttrOverNodeInfo()
|
|
| Method Summary | |
|---|---|
NodeList |
getChildNodes()
Return a NodeList that contains all children of this node. |
Node |
getFirstChild()
Get first child |
Node |
getLastChild()
Get last child |
String |
getName()
Get the name of an attribute node (the lexical QName) (DOM method) |
Element |
getOwnerElement()
The Element node this attribute is attached to or
null if this attribute is not in use. |
TypeInfo |
getSchemaTypeInfo()
Get the schema type information for this node. |
boolean |
getSpecified()
If this attribute was explicitly given a value in the original document, this is true ; otherwise, it is
false. |
String |
getValue()
Return the character value of an attribute node (DOM method) |
boolean |
hasChildNodes()
Determine whether the node has any children. |
boolean |
isId()
Determine whether this (attribute) node is an ID. |
void |
setValue(String value)
Set the value of an attribute node. |
| Methods inherited from class net.sf.saxon.dom.NodeOverNodeInfo |
|---|
appendChild, cloneNode, compareDocumentPosition, disallowUpdate, equals, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUnderlyingNodeInfo, getUserData, hasAttributes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public AttrOverNodeInfo()
| Method Detail |
|---|
public String getName()
getName in interface Attrpublic String getValue()
getValue in interface Attrpublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class NodeOverNodeInfotrue: a DOM Attribute has a text node as a child.public Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class NodeOverNodeInfopublic Node getLastChild()
getLastChild in interface NodegetLastChild in class NodeOverNodeInfopublic NodeList getChildNodes()
NodeList that contains all children of this node. If
there are no children, this is a NodeList containing no
nodes.
getChildNodes in interface NodegetChildNodes in class NodeOverNodeInfopublic boolean getSpecified()
true ; otherwise, it is
false. (DOM method)
getSpecified in interface Attr
public void setValue(String value)
throws DOMException
setValue in interface AttrDOMExceptionpublic boolean isId()
isId in interface Attrpublic Element getOwnerElement()
Element node this attribute is attached to or
null if this attribute is not in use.
getOwnerElement in interface Attrpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||