Package jspecview.source
Class XMLParser
java.lang.Object
jspecview.source.XMLParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttrValue
(String name) getAttrValueLC
(String key) int
boolean
hasNext()
int
void
void
nextTag()
int
peek()
for <xxxx> value </xxxx>boolean
for value without surrounding tag
-
Field Details
-
TAG_NONE
public static final int TAG_NONE- See Also:
-
START_ELEMENT
public static final int START_ELEMENT- See Also:
-
END_ELEMENT
public static final int END_ELEMENT- See Also:
-
START_END_ELEMENT
public static final int START_END_ELEMENT- See Also:
-
CHARACTERS
public static final int CHARACTERS- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
EOF
public static final int EOF- See Also:
-
-
Constructor Details
-
XMLParser
-
-
Method Details
-
getBufferData
-
thisValue
for value without surrounding tag- Returns:
- value
- Throws:
Exception
-
qualifiedValue
for <xxxx> value </xxxx>- Returns:
- value
- Throws:
Exception
-
peek
- Throws:
Exception
-
hasNext
public boolean hasNext() -
nextTag
- Throws:
Exception
-
nextEvent
- Throws:
Exception
-
nextStartTag
- Throws:
Exception
-
getTagName
-
getTagType
public int getTagType() -
getEndTag
-
nextValue
- Throws:
Exception
-
getAttributeList
-
getAttrValueLC
-
getAttrValue
-
getCharacters
- Throws:
Exception
-
requiresEndTag
public boolean requiresEndTag()
-