|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectyt4droid.internal.org.json.JSONTokener
yt4droid.internal.org.json.XMLTokener
public class XMLTokener
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
| フィールドの概要 | |
|---|---|
static java.util.HashMap |
entity
The table of entity values. |
| コンストラクタの概要 | |
|---|---|
XMLTokener(java.lang.String s)
Construct an XMLTokener from a string. |
|
| メソッドの概要 | |
|---|---|
java.lang.String |
nextCDATA()
Get the text in the CDATA block. |
java.lang.Object |
nextContent()
Get the next XML outer token, trimming whitespace. |
java.lang.Object |
nextEntity(char ampersand)
Return the next entity. |
java.lang.Object |
nextMeta()
Returns the next XML meta token. |
java.lang.Object |
nextToken()
Get the next XML Token. |
boolean |
skipPast(java.lang.String to)
Skip characters until past the requested string. |
| クラス yt4droid.internal.org.json.JSONTokener から継承されたメソッド |
|---|
back, dehexchar, end, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final java.util.HashMap entity
| コンストラクタの詳細 |
|---|
public XMLTokener(java.lang.String s)
s - A source string.| メソッドの詳細 |
|---|
public java.lang.String nextCDATA()
throws JSONException
]]>.
JSONException - If the ]]> is not found.
public java.lang.Object nextContent()
throws JSONException
JSONException
public java.lang.Object nextEntity(char ampersand)
throws JSONException
& ' > < ".
ampersand - An ampersand character.
JSONException - If missing ';' in XML entity.
public java.lang.Object nextMeta()
throws JSONException
< > / = ! ?) are returned as
Character, and strings and names are returned as Boolean. We don't care
what the values actually are.
JSONException - If a string is not properly closed or if the XML
is badly structured.
public java.lang.Object nextToken()
throws JSONException
/ > = ! ? or it
may be a string wrapped in single quotes or double quotes, or it may be a
name.
JSONException - If the XML is not well formed.
public boolean skipPast(java.lang.String to)
throws JSONException
to - A string to skip past.
JSONException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||