|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.model.build.AbstractXPathNode
An incomplete implementation of XPathNode with reasonable defaults for most node types.
| Field Summary |
| Fields inherited from interface jd.xml.xpath.model.XPathNode |
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, PI, ROOT, TEXT, TYPE_NAMES, TYPES, UNKNOWN |
| Constructor Summary | |
AbstractXPathNode()
|
|
| Method Summary | |
boolean |
equals(Object object)
Test if an object is equal to this node. |
XPathNode[] |
getAttributes()
Return null. |
String |
getBaseUri()
Return the base uri of the node. |
int |
getChildCount()
Return 0. |
XPathNode |
getFirstChild()
Return null. |
XPathNode |
getFirstSibling()
Return the first sibling. |
protected String |
getInheritedAttribute(String namespaceUri,
String name)
Return an attribute, that is declared for the given node or one of its ancestors. |
String |
getLanguage()
Return the language of the node. |
String |
getLocalName()
Returns getName(). |
String |
getName()
Return null. |
XPathNode[] |
getNamespaceNodes()
Return null. |
String |
getNamespaceUri()
Return null. |
NodeName |
getNodeName()
Return null. |
String |
getPrefix()
Return null. |
String |
getTypeName()
Return the name of the type. |
int |
hashCode()
Return a hashCode. |
boolean |
hasName(NodeName name)
Return false. |
boolean |
hasNamespaceUri(NodeName name)
Return false. |
abstract String |
toString()
Return a string representation of the node. |
String |
toString(String param)
Return a string representation of the node. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jd.xml.xpath.model.XPathNode |
accept, compareToNode, equalsNode, getCacheableNode, getGlobalId, getLineNumber, getLocalId, getNamespaceContext, getNextSibling, getParent, getPrevSibling, getRoot, getType, getValue |
| Constructor Detail |
public AbstractXPathNode()
| Method Detail |
public String getTypeName()
getTypeName in interface XPathNodepublic int getChildCount()
getChildCount in interface XPathNodepublic XPathNode getFirstChild()
getFirstChild in interface XPathNodepublic XPathNode getFirstSibling()
getFirstSibling in interface XPathNodepublic NodeName getNodeName()
getNodeName in interface XPathNodepublic String getName()
getName in interface XPathNodepublic String getLocalName()
getLocalName in interface XPathNodepublic String getPrefix()
getPrefix in interface XPathNodepublic String getNamespaceUri()
getNamespaceUri in interface XPathNodepublic boolean hasName(NodeName name)
hasName in interface XPathNodepublic boolean hasNamespaceUri(NodeName name)
hasNamespaceUri in interface XPathNodepublic XPathNode[] getAttributes()
getAttributes in interface XPathNodepublic String getLanguage()
getLanguage in interface XPathNodepublic String getBaseUri()
getBaseUri in interface XPathNode
protected String getInheritedAttribute(String namespaceUri,
String name)
namespaceUri - the namespace uri of the attribute or nullname - the attribute name or local name if namespaceUri is not null
public XPathNode[] getNamespaceNodes()
getNamespaceNodes in interface XPathNodepublic boolean equals(Object object)
equals in interface XPathNodepublic int hashCode()
hashCode in interface XPathNodepublic abstract String toString()
toString in interface XPathNodepublic String toString(String param)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||