org.apache.jackrabbit.mk.json
Class JsonBuilder.JsonObjectBuilder

java.lang.Object
  extended by org.apache.jackrabbit.mk.json.JsonBuilder.JsonObjectBuilder
Enclosing class:
JsonBuilder

public final class JsonBuilder.JsonObjectBuilder
extends Object


Constructor Summary
JsonBuilder.JsonObjectBuilder(JsonBuilder.JsonObjectBuilder parent)
           
 
Method Summary
 JsonBuilder.JsonArrayBuilder array(String key)
           
 JsonBuilder.JsonObjectBuilder array(String key, boolean[] value)
           
 JsonBuilder.JsonObjectBuilder array(String key, double[] value)
           
 JsonBuilder.JsonObjectBuilder array(String key, float[] value)
           
 JsonBuilder.JsonObjectBuilder array(String key, int[] value)
           
 JsonBuilder.JsonObjectBuilder array(String key, long[] value)
           
 JsonBuilder.JsonObjectBuilder array(String key, Number[] value)
           
 JsonBuilder.JsonObjectBuilder array(String key, String[] value)
           
 JsonBuilder.JsonObjectBuilder build()
           
 JsonBuilder.JsonObjectBuilder nil(String key)
           
 JsonBuilder.JsonObjectBuilder object(String key)
           
 JsonBuilder.JsonObjectBuilder value(String key, boolean value)
           
 JsonBuilder.JsonObjectBuilder value(String key, double value)
           
 JsonBuilder.JsonObjectBuilder value(String key, float value)
           
 JsonBuilder.JsonObjectBuilder value(String key, int value)
           
 JsonBuilder.JsonObjectBuilder value(String key, long value)
           
 JsonBuilder.JsonObjectBuilder value(String key, Number value)
           
 JsonBuilder.JsonObjectBuilder value(String key, String value)
           
 JsonBuilder.JsonObjectBuilder valueEncoded(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonBuilder.JsonObjectBuilder

public JsonBuilder.JsonObjectBuilder(JsonBuilder.JsonObjectBuilder parent)
                              throws IOException
Throws:
IOException
Method Detail

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           String value)
                                    throws IOException
Throws:
IOException

valueEncoded

public JsonBuilder.JsonObjectBuilder valueEncoded(String key,
                                                  String value)
                                           throws IOException
Throws:
IOException

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           int value)
                                    throws IOException
Throws:
IOException

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           long value)
                                    throws IOException
Throws:
IOException

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           float value)
                                    throws IOException
Throws:
IOException

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           double value)
                                    throws IOException
Throws:
IOException

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           Number value)
                                    throws IOException
Throws:
IOException

value

public JsonBuilder.JsonObjectBuilder value(String key,
                                           boolean value)
                                    throws IOException
Throws:
IOException

nil

public JsonBuilder.JsonObjectBuilder nil(String key)
                                  throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           String[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           int[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           long[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           float[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           double[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           Number[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonObjectBuilder array(String key,
                                           boolean[] value)
                                    throws IOException
Throws:
IOException

array

public JsonBuilder.JsonArrayBuilder array(String key)
                                   throws IOException
Throws:
IOException

object

public JsonBuilder.JsonObjectBuilder object(String key)
                                     throws IOException
Throws:
IOException

build

public JsonBuilder.JsonObjectBuilder build()
                                    throws IOException
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.