|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jclark.xsl.dom.NodeBase
com.jclark.xsl.dom.ContainerNode
com.jclark.xsl.dom.RootNode
| Field Summary | |
(package private) java.net.URL |
baseURL
|
(package private) int |
documentIndex
|
(package private) org.w3c.dom.Node |
domNode
|
(package private) boolean |
includeComments
|
(package private) boolean |
includeProcessingInstructions
|
(package private) int |
level
|
(package private) LoadContext |
loadContext
|
(package private) NameTable |
nameTable
|
(package private) org.w3c.dom.Document |
ownerDocument
|
(package private) ContainerNode |
parent
|
(package private) NamespacePrefixMap |
prefixMap
|
(package private) boolean |
preserveSpace
|
(package private) RootNode |
root
|
| Fields inherited from interface com.jclark.xsl.om.Node |
ALLTYPES, ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, PROCESSING_INSTRUCTION, ROOT, TEXT |
| Constructor Summary | |
(package private) |
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)
|
int |
compareTo(Node node)
also compares document order |
boolean |
equals(java.lang.Object obj)
|
Node |
getAttribute(Name name)
default behavior -- return null. |
SafeNodeIterator |
getAttributes()
does this only work on Elements? |
java.lang.String |
getAttributeValue(Name name)
default behavior -- return null. |
SafeNodeIterator |
getChildren()
as the name implies ... |
int |
getColumnNumber()
|
java.lang.String |
getData()
default behavior -- return null. |
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) |
int |
getLineNumber()
if decorated with locator events, this returns the line number in the XML source where this node was found |
Name |
getName()
default behavior -- return null. |
NamespacePrefixMap |
getNamespacePrefixMap()
in-scope namespaces ?? |
Node |
getParent()
as the name implies ... |
boolean |
getPreserveSpace()
|
java.lang.String |
getPublicId()
|
Node |
getRoot()
gets the owning Document's root |
java.lang.String |
getSystemId()
|
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)
|
boolean |
isId(java.lang.String id)
if this is an attribute?? and it is of type ID ? |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
org.w3c.dom.Document ownerDocument
NameTable nameTable
int documentIndex
java.net.URL baseURL
LoadContext loadContext
boolean includeComments
boolean includeProcessingInstructions
NamespacePrefixMap prefixMap
boolean preserveSpace
final org.w3c.dom.Node domNode
int level
ContainerNode parent
RootNode root
| Constructor Detail |
RootNode(org.w3c.dom.Node node,
DOMExtensions extend,
LoadContext loadContext,
NameTable nameTable,
java.lang.String baseURL,
int documentIndex)
| Method Detail |
int compareRootTo(RootNode node)
public byte getType()
NodeELEMENT, TEXT, ATTRIBUTE,
ROOT, PROCESSING_INSTRUCTION or COMMENT
public java.net.URL getURL()
Node
getURL in interface NodegetURL in class NodeBasepublic java.lang.String getUnparsedEntityURI(java.lang.String name)
getUnparsedEntityURI in interface NodegetUnparsedEntityURI in class ContainerNode
boolean isId(org.w3c.dom.Node node,
java.lang.String id)
public Node getElementWithId(java.lang.String id)
Node
getElementWithId in interface NodegetElementWithId in class NodeBasepublic java.lang.String getGeneratedId()
Node
getGeneratedId in interface NodegetGeneratedId in class NodeBasepublic SafeNodeIterator getFollowingSiblings()
Node
getFollowingSiblings in interface NodegetFollowingSiblings in class NodeBasepublic boolean getPreserveSpace()
public SafeNodeIterator getChildren()
Node
getChildren in interface NodegetChildren in class NodeBasepublic final NamespacePrefixMap getNamespacePrefixMap()
Node
getNamespacePrefixMap in interface NodegetNamespacePrefixMap in class NodeBasepublic Node getParent()
Node
getParent in interface Nodepublic int compareTo(Node node)
Node
compareTo in interface Nodepublic java.lang.String getData()
getData in interface Nodepublic Name getName()
getName in interface Nodepublic java.lang.String getAttributeValue(Name name)
getAttributeValue in interface Nodepublic Node getAttribute(Name name)
getAttribute in interface Nodepublic boolean isId(java.lang.String id)
Node
isId in interface Nodepublic SafeNodeIterator getAttributes()
Node
getAttributes in interface Nodepublic java.lang.String getSystemId()
getSystemId in interface javax.xml.transform.SourceLocatorpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.transform.SourceLocatorpublic int getLineNumber()
Node
getLineNumber in interface Nodepublic int getColumnNumber()
getColumnNumber in interface javax.xml.transform.SourceLocatorpublic boolean equals(java.lang.Object obj)
public Node getRoot()
Node
getRoot in interface Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||