class ElementNode extends ContainerNode
Modifier and Type | Class and Description |
---|---|
(package private) class |
ElementNode.AttributesIterator |
prefixMap, preserveSpace
Constructor and Description |
---|
ElementNode(org.w3c.dom.Node domNode,
ContainerNode parent,
int childIndex) |
Modifier and Type | Method and Description |
---|---|
Node |
getAttribute(Name name) |
SafeNodeIterator |
getAttributes() |
java.lang.String |
getAttributeValue(Name name) |
Name |
getName()
Returns element type name for element; attribute name for an attribute;
target for a PI.
|
boolean |
getPreserveSpace() |
byte |
getType() |
getChildren, getNamespacePrefixMap, getUnparsedEntityURI
compareTo, equals, getData, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, getParent, getRoot, getURL, isId
ElementNode(org.w3c.dom.Node domNode, ContainerNode parent, int childIndex)
public byte getType()
public Name getName()
Node
public java.lang.String getAttributeValue(Name name)
getAttributeValue
in interface Node
getAttributeValue
in class NodeBase
public Node getAttribute(Name name)
getAttribute
in interface Node
getAttribute
in class NodeBase
public SafeNodeIterator getAttributes()
getAttributes
in interface Node
getAttributes
in class NodeBase
public boolean getPreserveSpace()
getPreserveSpace
in class ContainerNode