com.jclark.xsl.om
Interface Node
- All Known Implementing Classes:
- AttributeNode, CommentNode, ContainerNode, ElementNode, NodeBase, ProcessingInstructionNode, RootNode, TextNode
public interface Node
ELEMENT
static final byte ELEMENT
- See Also:
- Constant Field Values
TEXT
static final byte TEXT
- See Also:
- Constant Field Values
ATTRIBUTE
static final byte ATTRIBUTE
- See Also:
- Constant Field Values
ROOT
static final byte ROOT
- See Also:
- Constant Field Values
PROCESSING_INSTRUCTION
static final byte PROCESSING_INSTRUCTION
- See Also:
- Constant Field Values
COMMENT
static final byte COMMENT
- See Also:
- Constant Field Values
N_TYPES
static final int N_TYPES
- See Also:
- Constant Field Values
getType
byte getType()
getName
Name getName()
- Returns element type name for element; attribute name for an attribute;
target for a PI.
getData
java.lang.String getData()
- Returns text for TEXT node; value for attribute node;
content for comment node;
content after PI for PI node; null otherwise.
getParent
Node getParent()
getChildren
SafeNodeIterator getChildren()
getFollowingSiblings
SafeNodeIterator getFollowingSiblings()
getURL
java.net.URL getURL()
getLineNumber
int getLineNumber()
getNamespacePrefixMap
NamespacePrefixMap getNamespacePrefixMap()
compareTo
int compareTo(Node node)
getElementWithId
Node getElementWithId(java.lang.String id)
isId
boolean isId(java.lang.String id)
getAttributeValue
java.lang.String getAttributeValue(Name name)
getAttribute
Node getAttribute(Name name)
getAttributes
SafeNodeIterator getAttributes()
getGeneratedId
java.lang.String getGeneratedId()
getUnparsedEntityURI
java.lang.String getUnparsedEntityURI(java.lang.String name)
getRoot
Node getRoot()