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, getUnparsedEntityURIcompareTo, equals, getData, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, getParent, getRoot, getURL, isIdElementNode(org.w3c.dom.Node domNode,
ContainerNode parent,
int childIndex)
public byte getType()
public Name getName()
Nodepublic java.lang.String getAttributeValue(Name name)
getAttributeValue in interface NodegetAttributeValue in class NodeBasepublic Node getAttribute(Name name)
getAttribute in interface NodegetAttribute in class NodeBasepublic SafeNodeIterator getAttributes()
getAttributes in interface NodegetAttributes in class NodeBasepublic boolean getPreserveSpace()
getPreserveSpace in class ContainerNode