|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.model.build.AbstractXPathNode
jd.xml.xpath.model.build.normal.Node
jd.xml.xpath.model.build.normal.AttributeNode
AttributeNode represents a XPath attribute node.
| Field Summary | |
protected CompositeNode |
parent_
|
protected int |
serialNumber_
|
| Fields inherited from interface jd.xml.xpath.model.XPathNode |
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, PI, ROOT, TEXT, TYPE_NAMES, TYPES, UNKNOWN |
| Constructor Summary | |
AttributeNode(AttributeNode node,
ElementNode parent)
|
|
AttributeNode(NodeName name,
String value,
ElementNode parent)
|
|
| Method Summary | |
void |
accept(NodeVisitor visitor)
Dispatch method for NodeVisitors. |
int |
compareToNode(XPathNode node)
Compare to another XPathNode from the same document. |
(package private) Node |
copy(CompositeNode parent)
|
(package private) Node |
createCopy()
|
boolean |
equalsNode(XPathNode node)
Test if the node equals the given node. |
XPathNode |
getCacheableNode()
Return this. |
(package private) Node |
getFirstChildImpl()
Return null. |
String |
getGlobalId()
Return an unique identifier for the node. |
int |
getLineNumber()
Return the line number of this node in a source document. |
int |
getLocalId()
Return a number for the node that is unique within the document. |
String |
getLocalName()
Return the XPath local name. |
String |
getName()
Return the attribute name. |
NamespaceContext |
getNamespaceContext()
Return the namespace context of the node. |
String |
getNamespaceUri()
Return the XPath namespace uri. |
XPathNode |
getNextSibling()
Return the next XPathNode sibling. |
NodeName |
getNodeName()
Return the attribute node name. |
XPathNode |
getParent()
Return the parent XPathNode. |
String |
getPrefix()
Return the prefix of the node. |
XPathNode |
getPrevSibling()
Return the previous XPathNode sibling. |
XPathRootNode |
getRoot()
Return the root. |
int |
getType()
Return the type. |
String |
getValue()
Return the string-value of the node. |
boolean |
hasName(NodeName name)
Test if the node name equals the given name. |
boolean |
hasNamespaceUri(NodeName name)
Test if the namespace uri of this node equals the uri of the given NodeName. |
(package private) void |
setSerialNumber(int serialNumber)
|
String |
toString()
Return a string representation of the node. |
| Methods inherited from class jd.xml.xpath.model.build.AbstractXPathNode |
equals, getAttributes, getBaseUri, getChildCount, getFirstChild, getFirstSibling, getInheritedAttribute, getLanguage, getNamespaceNodes, getTypeName, hashCode, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected CompositeNode parent_
protected int serialNumber_
| Constructor Detail |
public AttributeNode(NodeName name,
String value,
ElementNode parent)
public AttributeNode(AttributeNode node,
ElementNode parent)
| Method Detail |
public int getType()
public String getValue()
public NodeName getNodeName()
getNodeName in interface XPathNodegetNodeName in class AbstractXPathNodepublic String getName()
getName in interface XPathNodegetName in class AbstractXPathNodepublic String getPrefix()
getPrefix in interface XPathNodegetPrefix in class AbstractXPathNodepublic boolean hasName(NodeName name)
hasName in interface XPathNodehasName in class AbstractXPathNodepublic boolean hasNamespaceUri(NodeName name)
hasNamespaceUri in interface XPathNodehasNamespaceUri in class AbstractXPathNodepublic String getLocalName()
getLocalName in interface XPathNodegetLocalName in class AbstractXPathNodepublic String getNamespaceUri()
getNamespaceUri in interface XPathNodegetNamespaceUri in class AbstractXPathNodepublic void accept(NodeVisitor visitor)
public String toString()
toString in interface XPathNodetoString in class Nodepublic XPathRootNode getRoot()
public XPathNode getParent()
Node getFirstChildImpl()
public XPathNode getNextSibling()
public XPathNode getPrevSibling()
public XPathNode getCacheableNode()
public NamespaceContext getNamespaceContext()
public int getLocalId()
public String getGlobalId()
public boolean equalsNode(XPathNode node)
public int compareToNode(XPathNode node)
void setSerialNumber(int serialNumber)
Node copy(CompositeNode parent)
Node createCopy()
public int getLineNumber()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||