Uses of Class
org.apache.sling.commons.json.io.JSONWriter

Packages that use JSONWriter
org.apache.sling.commons.json.io   
org.apache.sling.commons.json.jcr   
org.apache.sling.servlets.get.impl.helpers   
 

Uses of JSONWriter in org.apache.sling.commons.json.io
 

Subclasses of JSONWriter in org.apache.sling.commons.json.io
 class JSONStringer
          JSONStringer provides a quick and convenient way of producing JSON text.
 

Methods in org.apache.sling.commons.json.io that return JSONWriter
 JSONWriter JSONWriter.array()
          Begin appending a new array.
 JSONWriter JSONWriter.endArray()
          End an array.
 JSONWriter JSONWriter.endObject()
          End an object.
 JSONWriter JSONWriter.key(String s)
          Append a key.
 JSONWriter JSONWriter.object()
          Begin appending a new object.
 JSONWriter JSONWriter.value(boolean b)
          Append either the value true or the value false.
 JSONWriter JSONWriter.value(double d)
          Append a double value.
 JSONWriter JSONWriter.value(long l)
          Append a long value.
 JSONWriter JSONWriter.value(Object o)
          Append an object value.
 

Uses of JSONWriter in org.apache.sling.commons.json.jcr
 

Methods in org.apache.sling.commons.json.jcr with parameters of type JSONWriter
protected  void JsonItemWriter.dump(javax.jcr.Node node, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
          Dump given node in JSON, optionally recursing into its child nodes
protected  void JsonItemWriter.dumpSingleNode(javax.jcr.Node n, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
          Dump a single node
protected  void JsonItemWriter.dumpValue(JSONWriter w, javax.jcr.Value v)
          Writes the given value to the JSON writer.
protected  void JsonItemWriter.writeProperty(JSONWriter w, javax.jcr.Property p)
          Write a single property
 

Uses of JSONWriter in org.apache.sling.servlets.get.impl.helpers
 

Methods in org.apache.sling.servlets.get.impl.helpers with parameters of type JSONWriter
protected  void JsonResourceWriter.dump(Resource resource, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
          Dump given resource in JSON, optionally recursing into its objects
 void JsonResourceWriter.dumpProperties(Resource resource, JSONWriter w, List<String> properties)
          Dump only a subset of the resource properties
protected  void JsonResourceWriter.dumpSingleResource(Resource n, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
          Dump a single node
 void JsonResourceWriter.dumpValue(JSONWriter w, Object value)
          Dump only a value in the correct format
protected  void JsonResourceWriter.writeProperty(JSONWriter w, ValueMap valueMap, String key, Object value)
          Write a single property
 



Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.