org.encog.parse.tags.read
public class ReadXML extends ReadTags
CHAR_BULLET, CHAR_TRADEMARK, MAX_LENGTH
Constructor and Description |
---|
ReadXML(InputStream is)
Construct an XML reader.
|
Modifier and Type | Method and Description |
---|---|
boolean |
findTag(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.
|
Map<String,String> |
readPropertyBlock()
Read all property data until an end tag, which corrisponds to the current
tag, is found.
|
String |
readTextToTag()
Read all text between the current position and the next tag.
|
eatWhitespace, getTag, is, parseAttributeName, parseString, parseTag, read, readToTag, toString
public ReadXML(InputStream is)
is
- The input stream to read from.public boolean findTag(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 Map<String,String> readPropertyBlock()
public String readTextToTag()
Copyright © 2014. All Rights Reserved.