|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.alicebot.server.core.parser.XMLNode
public class XMLNode
Implements a node of the XML trie
created by XMLParser
.
Field Summary | |
---|---|
static int |
CDATA
Character Data. |
static int |
COMMENT
XML Comment. |
static int |
DATA
DATA = Text |
static int |
EMPTY
XML Empty <tag/> |
static int |
ENDTAG
</tag> |
static int |
TAG
XML Tag <tag> |
java.lang.String |
XMLAttr
String of attributes associated (only for tags, otherwise "") |
java.util.LinkedList |
XMLChild
Pointer to a child trie structure (only for tags, otherwise null). |
java.lang.String |
XMLData
Actual data on the node or tag content. |
int |
XMLType
Type of the node ( TAG , EMPTY ,
DATA , CDATA , COMMENT , or ENDTAG ). |
Constructor Summary | |
---|---|
XMLNode()
Initializes the node with empty default values. |
Method Summary | |
---|---|
java.lang.String |
toString()
Produces a simple string representation of this node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TAG
public static final int EMPTY
public static final int DATA
public static final int CDATA
public static final int COMMENT
public static final int ENDTAG
public int XMLType
TAG
, EMPTY
,
DATA
, CDATA
, COMMENT
, or ENDTAG
).
public java.lang.String XMLData
public java.lang.String XMLAttr
public java.util.LinkedList XMLChild
Constructor Detail |
---|
XMLNode()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |