@Deprecated public class XMLTokener extends JSONTokener
Constructor and Description |
---|
XMLTokener(String s)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
nextCDATA()
Deprecated.
|
Object |
nextContent()
Deprecated.
|
Object |
nextEntity(char ampersand)
Deprecated.
|
Object |
nextMeta()
Deprecated.
|
Object |
nextToken()
Deprecated.
|
boolean |
skipPast(String to)
Deprecated.
Advances past all input up to and including the next occurrence of
thru . |
public static final HashMap entity
public XMLTokener(String s)
public String nextCDATA() throws JSONException
JSONException
public Object nextContent() throws JSONException
JSONException
public Object nextEntity(char ampersand) throws JSONException
JSONException
public Object nextMeta() throws JSONException
JSONException
public Object nextToken() throws JSONException
JSONException
public boolean skipPast(String to) throws JSONException
JSONTokener
thru
. If the
remaining input doesn't contain thru
, the input is exhausted.skipPast
in class JSONTokener
to
- The string to skip over.JSONException
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.