com.jclark.xsl.om
Interface Node

All Known Implementing Classes:
AttributeNode, CommentNode, ContainerNode, ElementNode, NodeBase, ProcessingInstructionNode, RootNode, TextNode

public interface Node


Field Summary
static byte ATTRIBUTE
           
static byte COMMENT
           
static byte ELEMENT
           
static int N_TYPES
           
static byte PROCESSING_INSTRUCTION
           
static byte ROOT
           
static byte TEXT
           
 
Method Summary
 int compareTo(Node node)
           
 Node getAttribute(Name name)
           
 SafeNodeIterator getAttributes()
           
 java.lang.String getAttributeValue(Name name)
           
 SafeNodeIterator getChildren()
           
 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.
 Node getElementWithId(java.lang.String id)
           
 SafeNodeIterator getFollowingSiblings()
           
 java.lang.String getGeneratedId()
           
 int getLineNumber()
           
 Name getName()
          Returns element type name for element; attribute name for an attribute; target for a PI.
 NamespacePrefixMap getNamespacePrefixMap()
           
 Node getParent()
           
 Node getRoot()
           
 byte getType()
           
 java.lang.String getUnparsedEntityURI(java.lang.String name)
           
 java.net.URL getURL()
           
 boolean isId(java.lang.String id)
           
 

Field Detail

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
Method Detail

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()