|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
public class DocumentNode
A Saxon OM Document node for an AST Node.
Field Summary | |
---|---|
Map<Node,ElementNode> |
nodeToElementNode
Mapping from AST Node to corresponding ElementNode. |
protected ElementNode |
rootNode
The root ElementNode of the DocumentNode. |
Fields inherited from interface net.sf.saxon.om.NodeInfo |
---|
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES |
Fields inherited from interface net.sf.saxon.om.ValueRepresentation |
---|
EMPTY_VALUE_ARRAY |
Constructor Summary | |
---|---|
DocumentNode(Node node)
Construct a DocumentNode, with the given AST Node serving as the root ElementNode. |
Method Summary | |
---|---|
net.sf.saxon.om.DocumentInfo |
getDocumentRoot()
|
int |
getNodeKind()
|
String[] |
getUnparsedEntity(String name)
|
Iterator |
getUnparsedEntityNames()
|
boolean |
hasChildNodes()
|
net.sf.saxon.om.AxisIterator |
iterateAxis(byte axisNumber)
|
net.sf.saxon.om.NodeInfo |
selectID(String id)
|
Methods inherited from class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo |
---|
atomize, compareOrder, copy, createUnsupportedOperationException, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getParent, getPrefix, getRoot, getSiblingPosition, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getUnderlyingNode, getURI, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, setSystemId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.om.NodeInfo |
---|
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getParent, getPrefix, getRoot, getStringValue, getSystemId, getTypeAnnotation, getURI, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis |
Methods inherited from interface javax.xml.transform.Source |
---|
setSystemId |
Methods inherited from interface net.sf.saxon.om.Item |
---|
getStringValueCS, getTypedValue |
Field Detail |
---|
protected final ElementNode rootNode
public final Map<Node,ElementNode> nodeToElementNode
Constructor Detail |
---|
public DocumentNode(Node node)
node
- The root AST Node.ElementNode
Method Detail |
---|
public String[] getUnparsedEntity(String name)
getUnparsedEntity
in interface net.sf.saxon.om.DocumentInfo
public Iterator getUnparsedEntityNames()
getUnparsedEntityNames
in interface net.sf.saxon.om.DocumentInfo
public net.sf.saxon.om.NodeInfo selectID(String id)
selectID
in interface net.sf.saxon.om.DocumentInfo
public int getNodeKind()
AbstractNodeInfo
getNodeKind
in interface net.sf.saxon.om.NodeInfo
getNodeKind
in class AbstractNodeInfo
public net.sf.saxon.om.DocumentInfo getDocumentRoot()
AbstractNodeInfo
getDocumentRoot
in interface net.sf.saxon.om.NodeInfo
getDocumentRoot
in class AbstractNodeInfo
public boolean hasChildNodes()
AbstractNodeInfo
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class AbstractNodeInfo
public net.sf.saxon.om.AxisIterator iterateAxis(byte axisNumber)
AbstractNodeInfo
iterateAxis
in interface net.sf.saxon.om.NodeInfo
iterateAxis
in class AbstractNodeInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |