com.jclark.xsl.om
Interface Node
- All Known Implementing Classes:
- NodeBase
- public interface Node
ELEMENT
public static final byte ELEMENT
- See Also:
- Constant Field Values
TEXT
public static final byte TEXT
- See Also:
- Constant Field Values
ATTRIBUTE
public static final byte ATTRIBUTE
- See Also:
- Constant Field Values
ROOT
public static final byte ROOT
- See Also:
- Constant Field Values
PROCESSING_INSTRUCTION
public static final byte PROCESSING_INSTRUCTION
- See Also:
- Constant Field Values
COMMENT
public static final byte COMMENT
- See Also:
- Constant Field Values
N_TYPES
public static final int N_TYPES
- See Also:
- Constant Field Values
getType
public byte getType()
getName
public Name getName()
- Returns element type name for element; attribute name for an attribute;
target for a PI.
getData
public 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
public Node getParent()
getChildren
public SafeNodeIterator getChildren()
getFollowingSiblings
public SafeNodeIterator getFollowingSiblings()
getURL
public java.net.URL getURL()
getLineNumber
public int getLineNumber()
getNamespacePrefixMap
public NamespacePrefixMap getNamespacePrefixMap()
compareTo
public int compareTo(Node node)
getElementWithId
public Node getElementWithId(java.lang.String id)
isId
public boolean isId(java.lang.String id)
getAttributeValue
public java.lang.String getAttributeValue(Name name)
getAttribute
public Node getAttribute(Name name)
getAttributes
public SafeNodeIterator getAttributes()
getGeneratedId
public java.lang.String getGeneratedId()
getUnparsedEntityURI
public java.lang.String getUnparsedEntityURI(java.lang.String name)
getRoot
public Node getRoot()