public class SimpleXmlReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CHARACTERS |
static int |
COMMENT |
static int |
END_ELEMENT |
static int |
EOF |
static int |
START_ELEMENT |
static int |
START_END_ELEMENT |
static int |
TAG_NONE |
Constructor and Description |
---|
SimpleXmlReader(java.io.BufferedReader br) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeList() |
java.lang.String |
getAttrValue(java.lang.String name) |
java.lang.String |
getAttrValueLC(java.lang.String key) |
java.lang.String |
getBufferData() |
java.lang.String |
getCharacters() |
java.lang.String |
getEndTag() |
java.lang.String |
getTagName() |
int |
getTagType() |
boolean |
hasNext() |
int |
nextEvent() |
void |
nextStartTag() |
void |
nextTag() |
java.lang.String |
nextValue() |
int |
peek() |
java.lang.String |
qualifiedValue()
for <xxxx> value </xxxx>
|
boolean |
requiresEndTag() |
java.lang.String |
thisValue()
for value without surrounding tag
|
public static final int TAG_NONE
public static final int START_ELEMENT
public static final int END_ELEMENT
public static final int START_END_ELEMENT
public static final int CHARACTERS
public static final int COMMENT
public static final int EOF
public java.lang.String getBufferData()
public java.lang.String thisValue() throws java.io.IOException
java.io.IOException
public java.lang.String qualifiedValue() throws java.io.IOException
java.io.IOException
public int peek() throws java.io.IOException
java.io.IOException
public boolean hasNext()
public void nextTag() throws java.io.IOException
java.io.IOException
public int nextEvent() throws java.io.IOException
java.io.IOException
public void nextStartTag() throws java.io.IOException
java.io.IOException
public java.lang.String getTagName()
public int getTagType()
public java.lang.String getEndTag()
public java.lang.String nextValue() throws java.io.IOException
java.io.IOException
public java.lang.String getAttributeList()
public java.lang.String getAttrValueLC(java.lang.String key)
public java.lang.String getAttrValue(java.lang.String name)
public java.lang.String getCharacters() throws java.io.IOException
java.io.IOException
public boolean requiresEndTag()