com.jclark.xsl.dom
Class RootNode

java.lang.Object
  extended by com.jclark.xsl.dom.NodeBase
      extended by com.jclark.xsl.dom.ContainerNode
          extended by com.jclark.xsl.dom.RootNode
All Implemented Interfaces:
Node, javax.xml.transform.SourceLocator

 class RootNode
extends ContainerNode


Field Summary
(package private)  java.net.URL baseURL
           
(package private)  int documentIndex
           
(package private)  boolean includeComments
           
(package private)  boolean includeProcessingInstructions
           
(package private)  LoadContext loadContext
           
(package private)  NameTable nameTable
           
(package private)  org.w3c.dom.Document ownerDocument
           
 
Fields inherited from class com.jclark.xsl.dom.ContainerNode
prefixMap, preserveSpace
 
Fields inherited from class com.jclark.xsl.dom.NodeBase
domNode, level, parent, root
 
Fields inherited from interface com.jclark.xsl.om.Node
ALLTYPES, ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, NAMESPACE, PROCESSING_INSTRUCTION, ROOT, TEXT
 
Constructor Summary
RootNode(org.w3c.dom.Node node, DOMExtensions extend, LoadContext loadContext, NameTable nameTable, java.lang.String baseURL, int documentIndex)
           
 
Method Summary
(package private)  int compareRootTo(RootNode node)
           
 Node getElementWithId(java.lang.String id)
          finds an Element Node, in the this node's document, with the given ID
 SafeNodeIterator getFollowingSiblings()
          as the name implies ...
 java.lang.String getGeneratedId()
          guaranteed to be unique (and repeatable)
 byte getType()
          returns one of: ELEMENT, TEXT, ATTRIBUTE, ROOT, PROCESSING_INSTRUCTION or COMMENT
 java.lang.String getUnparsedEntityURI(java.lang.String name)
           
 java.net.URL getURL()
          base URL ??
(package private)  boolean isId(org.w3c.dom.Node node, java.lang.String id)
           
 
Methods inherited from class com.jclark.xsl.dom.ContainerNode
getChildren, getNamespacePrefixMap, getPreserveSpace
 
Methods inherited from class com.jclark.xsl.dom.NodeBase
compareTo, equals, getAttribute, getAttributes, getAttributeValue, getColumnNumber, getData, getLineNumber, getName, getNamespaces, getParent, getPublicId, getRoot, getSystemId, isId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ownerDocument

org.w3c.dom.Document ownerDocument

nameTable

NameTable nameTable

documentIndex

int documentIndex

baseURL

java.net.URL baseURL

loadContext

LoadContext loadContext

includeComments

boolean includeComments

includeProcessingInstructions

boolean includeProcessingInstructions
Constructor Detail

RootNode

RootNode(org.w3c.dom.Node node,
         DOMExtensions extend,
         LoadContext loadContext,
         NameTable nameTable,
         java.lang.String baseURL,
         int documentIndex)
Method Detail

compareRootTo

int compareRootTo(RootNode node)

getType

public byte getType()
Description copied from interface: Node
returns one of: ELEMENT, TEXT, ATTRIBUTE, ROOT, PROCESSING_INSTRUCTION or COMMENT


getURL

public java.net.URL getURL()
Description copied from interface: Node
base URL ??

Specified by:
getURL in interface Node
Overrides:
getURL in class NodeBase

getUnparsedEntityURI

public java.lang.String getUnparsedEntityURI(java.lang.String name)
Specified by:
getUnparsedEntityURI in interface Node
Overrides:
getUnparsedEntityURI in class ContainerNode

isId

boolean isId(org.w3c.dom.Node node,
             java.lang.String id)

getElementWithId

public Node getElementWithId(java.lang.String id)
Description copied from interface: Node
finds an Element Node, in the this node's document, with the given ID

Specified by:
getElementWithId in interface Node
Overrides:
getElementWithId in class NodeBase

getGeneratedId

public java.lang.String getGeneratedId()
Description copied from interface: Node
guaranteed to be unique (and repeatable)

Specified by:
getGeneratedId in interface Node
Overrides:
getGeneratedId in class NodeBase

getFollowingSiblings

public SafeNodeIterator getFollowingSiblings()
Description copied from interface: Node
as the name implies ...

Specified by:
getFollowingSiblings in interface Node
Overrides:
getFollowingSiblings in class NodeBase