com.stanfy.gsonxml
Class XmlReader
java.lang.Object
com.google.gson.stream.JsonReader
com.stanfy.gsonxml.XmlReader
- All Implemented Interfaces:
- java.io.Closeable
public class XmlReader
- extends com.google.gson.stream.JsonReader
Reads XML as JSON.
| Methods inherited from class com.google.gson.stream.JsonReader |
close, isLenient, nextNull, setLenient |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XmlReader
public XmlReader(java.io.Reader in,
XmlParserCreator creator,
XmlReader.Options options)
toString
public java.lang.String toString()
- Overrides:
toString in class com.google.gson.stream.JsonReader
beginObject
public void beginObject()
throws java.io.IOException
- Overrides:
beginObject in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
endObject
public void endObject()
throws java.io.IOException
- Overrides:
endObject in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
beginArray
public void beginArray()
throws java.io.IOException
- Overrides:
beginArray in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
endArray
public void endArray()
throws java.io.IOException
- Overrides:
endArray in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
throws java.io.IOException
- Overrides:
hasNext in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
skipValue
public void skipValue()
throws java.io.IOException
- Overrides:
skipValue in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
peek
public com.google.gson.stream.JsonToken peek()
throws java.io.IOException
- Overrides:
peek in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
nextString
public java.lang.String nextString()
throws java.io.IOException
- Overrides:
nextString in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
nextBoolean
public boolean nextBoolean()
throws java.io.IOException
- Overrides:
nextBoolean in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
nextDouble
public double nextDouble()
throws java.io.IOException
- Overrides:
nextDouble in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
nextInt
public int nextInt()
throws java.io.IOException
- Overrides:
nextInt in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
nextLong
public long nextLong()
throws java.io.IOException
- Overrides:
nextLong in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException
nextName
public java.lang.String nextName()
throws java.io.IOException
- Overrides:
nextName in class com.google.gson.stream.JsonReader
- Throws:
java.io.IOException