|
|||||||||||
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 | |
static int |
ANCESTOR_AXIS
|
static int |
ANCESTOR_OR_SELF_AXIS
|
static byte |
ATTRIBUTE
The type signifying an Attribute instance. |
static int |
ATTRIBUTE_AXIS
|
static byte |
CHARACTERS
The type signifying an Characters instance. |
static int |
CHILD_AXIS
|
static byte |
COMMENT
The type signifying a Comment instance. |
static int |
DESCENDANT_AXIS
|
static int |
DESCENDANT_OR_SELF_AXIS
|
static byte |
DOCUMENT
The type signifying a Document instance. |
static byte |
DOCUMENT_END
The type signifying a DocumentEnd instance. |
static byte |
ELEMENT
The type signifying an Element instance. |
static byte |
ELEMENT_END
The type signifying an ElementEnd instance. |
static int |
FOLLOWING_AXIS
|
static int |
FOLLOWING_SIBLING_AXIS
|
static int |
N_TYPES
The number of types of nodes. |
static byte |
NAMESPACE
|
static int |
NAMESPACE_AXIS
|
static int |
PARENT_AXIS
|
static int |
PRECEDING_AXIS
|
static int |
PRECEDING_SIBLING_AXIS
|
static byte |
PROCESSING_INSTRUCTION
The type signifying a ProcessingInstruction instance. |
static int |
SELF_AXIS
|
Method Summary | |
int |
compareTo(Item other)
Compares this node to another node returning 1, 0, or -1. |
java.util.Iterator |
getAxis(byte type)
|
Document |
getDocument()
This method returns the same as getOrigin().getDocument(). |
java.lang.String |
getGeneratedId()
Returns a globally unique identifier for this node. |
Infoset |
getInfoset()
Returns the document context. |
Parent |
getOrigin()
Returns the origin of this node. |
byte |
getType()
Returns the type of type node. |
Field Detail |
public static final byte DOCUMENT
public static final byte ELEMENT
public static final byte ATTRIBUTE
public static final byte CHARACTERS
public static final byte COMMENT
public static final byte PROCESSING_INSTRUCTION
public static final byte ELEMENT_END
public static final byte DOCUMENT_END
public static final byte NAMESPACE
public static final int N_TYPES
public static final int CHILD_AXIS
public static final int DESCENDANT_AXIS
public static final int PARENT_AXIS
public static final int ANCESTOR_AXIS
public static final int FOLLOWING_SIBLING_AXIS
public static final int PRECEDING_SIBLING_AXIS
public static final int FOLLOWING_AXIS
public static final int PRECEDING_AXIS
public static final int ATTRIBUTE_AXIS
public static final int NAMESPACE_AXIS
public static final int SELF_AXIS
public static final int DESCENDANT_OR_SELF_AXIS
public static final int ANCESTOR_OR_SELF_AXIS
Method Detail |
public java.lang.String getGeneratedId()
public byte getType()
public Parent getOrigin()
public Document getDocument()
public java.util.Iterator getAxis(byte type)
public int compareTo(Item other)
other
- The node with which to compare.public Infoset getInfoset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |