org.apache.noggit
Class ObjectBuilder
java.lang.Object
org.apache.noggit.ObjectBuilder
public class ObjectBuilder
- extends java.lang.Object
- Version:
- $Id$
- Author:
- yonik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectBuilder
public ObjectBuilder(JSONParser parser)
throws java.io.IOException
- Throws:
java.io.IOException
fromJSON
public static java.lang.Object fromJSON(java.lang.String json)
throws java.io.IOException
- Throws:
java.io.IOException
getVal
public static java.lang.Object getVal(JSONParser parser)
throws java.io.IOException
- Throws:
java.io.IOException
getVal
public java.lang.Object getVal()
throws java.io.IOException
- Throws:
java.io.IOException
getString
public java.lang.Object getString()
throws java.io.IOException
- Throws:
java.io.IOException
getLong
public java.lang.Object getLong()
throws java.io.IOException
- Throws:
java.io.IOException
getNumber
public java.lang.Object getNumber()
throws java.io.IOException
- Throws:
java.io.IOException
getBigNumber
public java.lang.Object getBigNumber()
throws java.io.IOException
- Throws:
java.io.IOException
getBoolean
public java.lang.Object getBoolean()
throws java.io.IOException
- Throws:
java.io.IOException
getNull
public java.lang.Object getNull()
throws java.io.IOException
- Throws:
java.io.IOException
newObject
public java.lang.Object newObject()
throws java.io.IOException
- Throws:
java.io.IOException
getKey
public java.lang.Object getKey()
throws java.io.IOException
- Throws:
java.io.IOException
addKeyVal
public void addKeyVal(java.lang.Object map,
java.lang.Object key,
java.lang.Object val)
throws java.io.IOException
- Throws:
java.io.IOException
objectEnd
public java.lang.Object objectEnd(java.lang.Object obj)
getObject
public java.lang.Object getObject()
throws java.io.IOException
- Throws:
java.io.IOException
newArray
public java.lang.Object newArray()
addArrayVal
public void addArrayVal(java.lang.Object arr,
java.lang.Object val)
throws java.io.IOException
- Throws:
java.io.IOException
endArray
public java.lang.Object endArray(java.lang.Object arr)
getArray
public java.lang.Object getArray()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012. All Rights Reserved.