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

public 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
ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, 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 createAttribute(org.w3c.dom.Node node)
           
 Node createComment(org.w3c.dom.Node node)
           
 ContainerNode createElement(org.w3c.dom.Node node)
           
 Node createPI(org.w3c.dom.Node node)
           
 Node createText(org.w3c.dom.Node node)
           
 Node getElementWithId(java.lang.String id)
           
 SafeNodeIterator getFollowingSiblings()
           
 java.lang.String getGeneratedId()
           
 byte getType()
           
 java.lang.String getUnparsedEntityURI(java.lang.String name)
           
 java.net.URL getURL()
           
(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, getData, getLineNumber, getName, getParent, getRoot, 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

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

getURL

public java.net.URL getURL()
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)
Specified by:
getElementWithId in interface Node
Overrides:
getElementWithId in class NodeBase

createElement

public ContainerNode createElement(org.w3c.dom.Node node)

createPI

public Node createPI(org.w3c.dom.Node node)

createComment

public Node createComment(org.w3c.dom.Node node)

createText

public Node createText(org.w3c.dom.Node node)

createAttribute

public Node createAttribute(org.w3c.dom.Node node)

getGeneratedId

public java.lang.String getGeneratedId()
Specified by:
getGeneratedId in interface Node
Overrides:
getGeneratedId in class NodeBase

getFollowingSiblings

public SafeNodeIterator getFollowingSiblings()
Specified by:
getFollowingSiblings in interface Node
Overrides:
getFollowingSiblings in class NodeBase