public class ReadXML extends ReadTags
CHAR_BULLET, CHAR_TRADEMARK, MAX_LENGTH| Constructor and Description |
|---|
ReadXML(java.io.InputStream is)
Construct an XML reader.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
findTag(java.lang.String name,
boolean beginTag)
Advance until the specified tag is found.
|
int |
readIntToTag()
Read an integer that is contained between the current position, and the
next tag.
|
java.util.Map<java.lang.String,java.lang.String> |
readPropertyBlock()
Read all property data until an end tag, which corrisponds to the current
tag, is found.
|
java.lang.String |
readTextToTag()
Read all text between the current position and the next tag.
|
eatWhitespace, getTag, is, parseAttributeName, parseString, parseTag, read, readToTag, toStringpublic ReadXML(java.io.InputStream is)
is - The input stream to read from.public boolean findTag(java.lang.String name,
boolean beginTag)
name - The name of the tag we are looking for.beginTag - True if this is a begin tage, false otherwise.public int readIntToTag()
public java.util.Map<java.lang.String,java.lang.String> readPropertyBlock()
public java.lang.String readTextToTag()