|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlObjectNode
Convenience interface to be shared between XmlObject
XmlObjectText, and XmlObjectAttribute.
| Field Summary | |
|---|---|
static XmlObjectNode[] |
EMPTY_ARRAY
|
| Method Summary | |
|---|---|
java.lang.Object |
getUserData()
Get user data associated with this object. |
XmlObjectNode[] |
getXmlObjectAncestors()
Get XmlObjectNode ancestors. |
java.lang.Integer[] |
getXmlObjectBaseIndexes()
|
XmlObject |
getXmlObjectBaseRoot()
Get root of this XmlObjectNode base document
(the further ancestor which has same base URI). |
java.net.URI |
getXmlObjectBaseURI()
Get base URI of document from where this XmlObjectNode originated. |
java.lang.String |
getXmlObjectBaseXPath()
Get XPath leading to this XmlObjectNode,
if executed from base root. |
XmlObjectNode[] |
getXmlObjectChildren()
Get list of all child XmlObjectNode. |
XmlObjectNode[] |
getXmlObjectDescendants()
Get list of all descendants XmlObjectNode. |
XmlObjectNode[] |
getXmlObjectFollowing()
Get followers of this XmlObjectNode. |
XmlObjectNode |
getXmlObjectFollowingSibling()
Get following sibling of this XmlObjectNode. |
XmlObjectNode[] |
getXmlObjectFollowingSiblings()
Get following siblings of this XmlObjectNode. |
int |
getXmlObjectIndex()
Get index of this XmlObjectNode. |
XmlObject |
getXmlObjectParent()
Get parent of this XmlObjectNode. |
XmlObjectNode[] |
getXmlObjectPreceding()
Get preceding XmlObjectNode of this XmlObjectNode. |
XmlObjectNode[] |
getXmlObjectPrecedingOrAncestor()
Get preceding or ancestor XmlObjectNode of this XmlObjectNode. |
XmlObjectNode |
getXmlObjectPrecedingSibling()
Get preceding sibling of this XmlObjectNode. |
XmlObjectNode[] |
getXmlObjectPrecedingSiblings()
Get preceding siblings of this XmlObjectNode. |
javax.xml.namespace.QName |
getXmlObjectQName()
Get qualified name of XML node corresponding to this XmlObjectNode. |
XmlObject |
getXmlObjectRoot()
Get root parent of this XmlObjectNode hierarchy. |
java.lang.String |
getXmlObjectTextContent()
Get text content. |
java.lang.Object |
getXmlObjectValue()
|
boolean |
hasUserData()
Whether or not user data is set on this object. |
void |
setUserData(java.lang.Object userData)
Associates user data with this object. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final XmlObjectNode[] EMPTY_ARRAY
| Method Detail |
|---|
XmlObject getXmlObjectParent()
XmlObjectNode.
XmlObject or null if none.XmlObjectNode[] getXmlObjectChildren()
XmlObjectNode.
java.lang.String getXmlObjectTextContent()
XmlObjectNode or null if none.java.lang.Object getXmlObjectValue()
javax.xml.namespace.QName getXmlObjectQName()
XmlObjectNode.
XmlObjectNode or null if not known,
or not applicable.java.lang.String getXmlObjectBaseXPath()
XmlObjectNode,
if executed from base root.
XmlObjectNode.java.lang.Integer[] getXmlObjectBaseIndexes()
int getXmlObjectIndex()
XmlObjectNode.
XmlObjectNode in its parent
children list.XmlObjectNode getXmlObjectFollowingSibling()
XmlObjectNode.
XmlObjectNode, or null if none.XmlObjectNode getXmlObjectPrecedingSibling()
XmlObjectNode.
XmlObjectNode, or null if none.XmlObjectNode[] getXmlObjectAncestors()
XmlObjectNode ancestors.
XmlObjectNode containing all ancestors of this object.XmlObjectNode[] getXmlObjectFollowing()
XmlObjectNode.
XmlObjectNode.XmlObjectNode[] getXmlObjectFollowingSiblings()
XmlObjectNode.
XmlObjectNode.XmlObjectNode[] getXmlObjectPrecedingSiblings()
XmlObjectNode.
XmlObjectNode.XmlObjectNode[] getXmlObjectPreceding()
XmlObjectNode of this XmlObjectNode.
XmlObjectNode of this XmlObjectNode.XmlObjectNode[] getXmlObjectPrecedingOrAncestor()
XmlObjectNode of this XmlObjectNode.
XmlObjectNode of this XmlObjectNode.XmlObject getXmlObjectRoot()
XmlObjectNode hierarchy.
XmlObjectNode.XmlObjectNode[] getXmlObjectDescendants()
XmlObjectNode.
java.net.URI getXmlObjectBaseURI()
XmlObjectNode originated.
null
otherwise.XmlObject getXmlObjectBaseRoot()
XmlObjectNode base document
(the further ancestor which has same base URI).
XmlObjectNode base document.boolean hasUserData()
true if user data is not null, false otherwise.java.lang.Object getUserData()
void setUserData(java.lang.Object userData)
userData - User data to associate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||