|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a infoset item in an XML document.
Field Summary |
Fields inherited from interface com.smallx.xml.infoset.Item |
ANCESTOR_AXIS, ANCESTOR_OR_SELF_AXIS, ATTRIBUTE, ATTRIBUTE_AXIS, CHARACTERS, CHILD_AXIS, COMMENT, DESCENDANT_AXIS, DESCENDANT_OR_SELF_AXIS, DOCUMENT, DOCUMENT_END, ELEMENT, ELEMENT_END, FOLLOWING_AXIS, FOLLOWING_SIBLING_AXIS, N_TYPES, NAMESPACE, NAMESPACE_AXIS, PARENT_AXIS, PRECEDING_AXIS, PRECEDING_SIBLING_AXIS, PROCESSING_INSTRUCTION, SELF_AXIS |
Method Summary | |
int |
compareTo(Item other)
Compares this node to another node returning 1, 0, or -1. |
Document |
getDocument()
This method returns the same as getOrigin().getDocument(). |
Child |
getFollowingSibling()
Returns the following sibling of this node. |
java.util.Iterator |
getFollowingSiblings()
|
Parent |
getParent()
Returns the origin of this node. |
Child |
getPrecedingSibling()
Returns the preceeding sibling to this node. |
java.util.Iterator |
getPrecedingSiblings()
|
Methods inherited from interface com.smallx.xml.infoset.Item |
getAxis, getGeneratedId, getInfoset, getOrigin, getType |
Method Detail |
public Document getDocument()
Item
getDocument
in interface Item
public Parent getParent()
public Child getFollowingSibling()
public java.util.Iterator getFollowingSiblings()
public Child getPrecedingSibling()
public java.util.Iterator getPrecedingSiblings()
public int compareTo(Item other)
compareTo
in interface Item
other
- The node with which to compare.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |