AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Private 成员函数 | Private 属性 | 静态 Private 属性 | 所有成员列表
com.google.gson.internal.bind.JsonTreeReader类 参考
类 com.google.gson.internal.bind.JsonTreeReader 继承关系图:
com.google.gson.stream.JsonReader

Public 成员函数

 JsonTreeReader (JsonElement element)
 
void beginArray () throws IOException
 
void endArray () throws IOException
 
void beginObject () throws IOException
 
void endObject () throws IOException
 
boolean hasNext () throws IOException
 
JsonToken peek () throws IOException
 
String nextName () throws IOException
 
String nextString () throws IOException
 
boolean nextBoolean () throws IOException
 
void nextNull () throws IOException
 
double nextDouble () throws IOException
 
long nextLong () throws IOException
 
int nextInt () throws IOException
 
void close () throws IOException
 
void skipValue () throws IOException
 
String toString ()
 
void promoteNameToValue () throws IOException
 
- Public 成员函数 继承自 com.google.gson.stream.JsonReader
 JsonReader (Reader in)
 
final void setLenient (boolean lenient)
 
final boolean isLenient ()
 
void beginArray () throws IOException
 
void endArray () throws IOException
 
void beginObject () throws IOException
 
void endObject () throws IOException
 
boolean hasNext () throws IOException
 
JsonToken peek () throws IOException
 
String nextName () throws IOException
 
String nextString () throws IOException
 
boolean nextBoolean () throws IOException
 
void nextNull () throws IOException
 
double nextDouble () throws IOException
 
long nextLong () throws IOException
 
int nextInt () throws IOException
 
void close () throws IOException
 
void skipValue () throws IOException
 

Private 成员函数

Object peekStack ()
 
Object popStack ()
 
void expect (JsonToken expected) throws IOException
 

Private 属性

final List< Object > stack = new ArrayList<Object>()
 

静态 Private 属性

static final Reader UNREADABLE_READER
 
static final Object SENTINEL_CLOSED = new Object()
 

额外继承的成员函数

- 包函数 继承自 com.google.gson.stream.JsonReader
 [instance initializer]
 

详细描述

This reader walks the elements of a JsonElement as if it was coming from a character stream.

作者
Jesse Wilson

构造及析构函数说明

com.google.gson.internal.bind.JsonTreeReader.JsonTreeReader ( JsonElement  element)
inline

成员函数说明

void com.google.gson.internal.bind.JsonTreeReader.beginArray ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.beginObject ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.close ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.endArray ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.endObject ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.expect ( JsonToken  expected) throws IOException
inlineprivate
boolean com.google.gson.internal.bind.JsonTreeReader.hasNext ( ) throws IOException
inline
boolean com.google.gson.internal.bind.JsonTreeReader.nextBoolean ( ) throws IOException
inline
double com.google.gson.internal.bind.JsonTreeReader.nextDouble ( ) throws IOException
inline
int com.google.gson.internal.bind.JsonTreeReader.nextInt ( ) throws IOException
inline
long com.google.gson.internal.bind.JsonTreeReader.nextLong ( ) throws IOException
inline
String com.google.gson.internal.bind.JsonTreeReader.nextName ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.nextNull ( ) throws IOException
inline
String com.google.gson.internal.bind.JsonTreeReader.nextString ( ) throws IOException
inline
JsonToken com.google.gson.internal.bind.JsonTreeReader.peek ( ) throws IOException
inline
Object com.google.gson.internal.bind.JsonTreeReader.peekStack ( )
inlineprivate
Object com.google.gson.internal.bind.JsonTreeReader.popStack ( )
inlineprivate
void com.google.gson.internal.bind.JsonTreeReader.promoteNameToValue ( ) throws IOException
inline
void com.google.gson.internal.bind.JsonTreeReader.skipValue ( ) throws IOException
inline
String com.google.gson.internal.bind.JsonTreeReader.toString ( )
inline

类成员变量说明

final Object com.google.gson.internal.bind.JsonTreeReader.SENTINEL_CLOSED = new Object()
staticprivate
final List<Object> com.google.gson.internal.bind.JsonTreeReader.stack = new ArrayList<Object>()
private
final Reader com.google.gson.internal.bind.JsonTreeReader.UNREADABLE_READER
staticprivate
初始值:
= new Reader() {
@Override public int read(char[] buffer, int offset, int count) throws IOException {
throw new AssertionError();
}
@Override public void close() throws IOException {
throw new AssertionError();
}
}

该类的文档由以下文件生成: