|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.json.JSONTokener
org.apache.tapestry.json.XMLTokener
public class XMLTokener
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
| Field Summary | |
|---|---|
static HashMap |
entity
The table of entity values. |
| Constructor Summary | |
|---|---|
XMLTokener(String s)
Construct an XMLTokener from a string. |
|
| Method Summary | |
|---|---|
Object |
nextContent()
Get the next XML outer token, trimming whitespace. |
Object |
nextEntity(char a)
Return the next entity. |
Object |
nextMeta()
Returns the next XML meta token. |
Object |
nextToken()
Get the next XML Token. |
| Methods inherited from class org.apache.tapestry.json.JSONTokener |
|---|
back, dehexchar, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipPast, skipTo, syntaxError, toString, unescape |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final HashMap entity
| Constructor Detail |
|---|
public XMLTokener(String s)
s - A source string.| Method Detail |
|---|
public Object nextContent()
throws ParseException
ParseException
public Object nextEntity(char a)
throws ParseException
a - An ampersand character.
ParseException - Missing ';' in XML entity
public Object nextMeta()
throws ParseException
ParseException
public Object nextToken()
throws ParseException
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||