public class XMLToken
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String[] |
attNV |
(package private) static int |
CLOSE |
(package private) static int |
COMMENT |
(package private) double |
dvalue |
(package private) static int |
INTRO |
(package private) int |
natt |
(package private) static int |
NONE |
(package private) static int |
NUMBER |
(package private) static int |
OPEN |
(package private) static int |
OPENCLOSE |
(package private) static int |
STRING |
(package private) java.lang.String |
svalue |
(package private) int |
type |
(package private) java.lang.String[] |
types |
Constructor and Description |
---|
XMLToken() |
Modifier and Type | Method and Description |
---|---|
boolean |
closes(XMLToken start) |
java.lang.String |
getAttribute(java.lang.String sat) |
java.lang.String |
getAttributeName(int i) |
Attribute[] |
getAttributes() |
java.lang.String |
getAttributeValue(int i) |
java.lang.String |
getCloseTagString() |
java.lang.String |
getName() |
int |
getNumAttributes() |
java.lang.String |
getOpenTagString() |
boolean |
hasAttribute(java.lang.String sat) |
boolean |
isClose() |
boolean |
isComment() |
boolean |
isIntro() |
boolean |
isNone() |
boolean |
isNumber() |
boolean |
isOpen() |
boolean |
isString() |
void |
setAttributes(java.lang.String[] sa) |
void |
setDValue(double d) |
void |
setStringValue(java.lang.String s) |
void |
setType(int itype) |
java.lang.String |
toString() |
static final int NONE
static final int OPEN
static final int CLOSE
static final int NUMBER
static final int STRING
static final int OPENCLOSE
static final int INTRO
static final int COMMENT
java.lang.String[] types
int type
java.lang.String svalue
double dvalue
int natt
java.lang.String[] attNV
public boolean isOpen()
public boolean isClose()
public boolean isNumber()
public boolean isString()
public boolean isNone()
public boolean isIntro()
public boolean isComment()
public java.lang.String toString()
toString
in class java.lang.Object
public void setType(int itype)
public void setStringValue(java.lang.String s)
public void setDValue(double d)
public void setAttributes(java.lang.String[] sa)
public boolean hasAttribute(java.lang.String sat)
public Attribute[] getAttributes()
public java.lang.String getAttribute(java.lang.String sat)
public java.lang.String getName()
public java.lang.String getOpenTagString()
public java.lang.String getCloseTagString()
public boolean closes(XMLToken start)
public int getNumAttributes()
public java.lang.String getAttributeName(int i)
public java.lang.String getAttributeValue(int i)
Copyright © 2013. All Rights Reserved.