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

Packages that use JSONWriter
com.adobe.cq.commerce.common   
com.adobe.granite.security.user.util Provides a framework for accessing users and their properties. 
com.adobe.granite.xss XSS Protection Service 
com.day.cq.analytics.sitecatalyst.util   
com.day.cq.commons   
com.day.cq.commons.servlets   
com.day.cq.mcm.api   
com.day.cq.reporting   
com.day.cq.reporting.helpers   
com.day.cq.search.writer   
com.day.cq.security.util   
com.day.cq.wcm.api   
com.day.cq.wcm.api.components   
com.day.cq.wcm.core.components   
com.day.cq.wcm.msm.api   
org.apache.sling.commons.json.io   
org.apache.sling.commons.json.jcr   
 

Uses of JSONWriter in com.adobe.cq.commerce.common
 

Methods in com.adobe.cq.commerce.common with parameters of type JSONWriter
static void CommerceHelper.writeCart(JSONWriter writer, CommerceSession commerceSession)
          Writes a cart to JSON for the CartMgr ClientContextStore.
 

Uses of JSONWriter in com.adobe.granite.security.user.util
 

Methods in com.adobe.granite.security.user.util with parameters of type JSONWriter
 void AuthorizableJSONWriter.write(JSONWriter writer, Authorizable authorizable)
          Write the data of the specified authorizable to the given writer.
 

Uses of JSONWriter in com.adobe.granite.xss
 

Methods in com.adobe.granite.xss with parameters of type JSONWriter
static void JSONUtil.writeProtected(JSONWriter writer, String key, String[] values, XSSFilter xss)
          Writes a xss protected value array into a JSON writer.
static void JSONUtil.writeProtected(JSONWriter writer, String key, String value, XSSFilter xss)
          Writes a xss protected value into a JSON writer.
static void JSONUtil.writeWithProtected(JSONWriter writer, String key, String[] values, XSSFilter xss)
          Writes a value array into a JSON write.
static void JSONUtil.writeWithProtected(JSONWriter writer, String key, String value, XSSFilter xss)
          Writes a value into a JSON write In addition, the xss protected value is written with the provided key appended by JSONUtil.KEY_SUFFIX_XSS
 

Uses of JSONWriter in com.day.cq.analytics.sitecatalyst.util
 

Methods in com.day.cq.analytics.sitecatalyst.util with parameters of type JSONWriter
protected  void SitecatalystJsonItemWriter.dump(Node node, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
           
 

Uses of JSONWriter in com.day.cq.commons
 

Subclasses of JSONWriter in com.day.cq.commons
 class TidyJSONWriter
          JSONWriter provides a quick and convenient way of producing JSON text.
 

Methods in com.day.cq.commons with parameters of type JSONWriter
 void TidyJsonItemWriter.dump(NodeIterator it, JSONWriter w)
          Dump all Nodes of given NodeIterator in JSON
 void TidyJsonItemWriter.dump(Node node, JSONWriter w, int maxRecursionLevels)
          Dump given node in JSON, optionally recursing into its child nodes
 void TidyJsonItemWriter.dump(Property p, JSONWriter w)
          Dump the property in JSON
 void JSONItem.write(JSONWriter out)
          Serializes this descriptor to json
static void JSONWriterUtil.write(JSONWriter writer, String key, String value, JSONWriterUtil.WriteMode writeMode, XSSProtectionService xss)
          Writes a value to JSON writer according to provided write mode.
static void JSONWriterUtil.writeOptional(JSONWriter writer, String key, String value, JSONWriterUtil.WriteMode writeMode, XSSProtectionService xss)
          Writes an optional value to JSON writer according to provided write mode.
 void ResourceStatusProvider.writeStatus(SlingHttpServletRequest request, JSONWriter writer, Resource resource)
          Deprecated. Writes the status to the given json item writer.
 

Uses of JSONWriter in com.day.cq.commons.servlets
 

Methods in com.day.cq.commons.servlets with parameters of type JSONWriter
 void AbstractListServlet.ListItem.write(JSONWriter out, String[] customProps)
          Writes the list item to the specified JSON writer.
protected  void AbstractListServlet.writeCustomProperties(JSONWriter out, Resource resource, String[] customProps)
          Writes the specified properties of the resource to the JSON writer.
protected  void AbstractListServlet.writeKey(JSONWriter out, String key, Object value)
          Writes a key and its value to the specified JSON writer.
protected  void AbstractListServlet.writeOptionalDateKey(JSONWriter out, String key, Calendar value)
          Writes a key and its date value to the specified JSON writer.
protected  void AbstractListServlet.writeOptionalKey(JSONWriter out, String key, Object value)
          Writes a key and its value to the specified JSON writer.
 

Uses of JSONWriter in com.day.cq.mcm.api
 

Methods in com.day.cq.mcm.api with parameters of type JSONWriter
static
<T> void
MCMUtil.writeMapAsJsonObject(JSONWriter out, Map<String,T> m)
           
 

Uses of JSONWriter in com.day.cq.reporting
 

Methods in com.day.cq.reporting with parameters of type JSONWriter
 void CellValue.toJSON(JSONWriter writer, Locale locale)
          Adds the value to the specified JSONWriter.
 void ChartData.writeDataJSON(JSONWriter writer, Locale locale)
          Writes the chart data to the specified JSONWriter.
abstract  void Data.writeDataJSON(JSONWriter writer, Locale locale, Integer start, Integer limit)
          Writes the result to the specified JSONWriter.
abstract  void Data.writeSortInfoJSON(JSONWriter writer)
          Writes the sort information for the report to the specified JSONWriter.
abstract  void Data.writeTypesJSON(JSONWriter writer)
          Writes the type definition for each column to the specified JSONWriter.
 

Uses of JSONWriter in com.day.cq.reporting.helpers
 

Methods in com.day.cq.reporting.helpers with parameters of type JSONWriter
static void Util.writeToJSON(JSONWriter writer, com.day.cq.reporting.impl.snapshots.AggregationInterval interval, Calendar cal, TimeZone timeZone, Locale locale)
          Writes the specified Calendar to the specified JSONWriter.
 

Uses of JSONWriter in com.day.cq.search.writer
 

Methods in com.day.cq.search.writer with parameters of type JSONWriter
 void SimpleHitWriter.write(Hit hit, JSONWriter writer, Query query)
           
 void SelectivePropHitWriter.write(Hit hit, JSONWriter writer, Query query)
           
 void ResultHitWriter.write(Hit hit, JSONWriter writer, Query query)
          Writes a given Hit into the JSONWriter.
 void FullNodeHitWriter.write(Hit hit, JSONWriter writer, Query query)
           
static void SimpleHitWriter.writeSimpleJson(Hit hit, JSONWriter writer)
           
 

Uses of JSONWriter in com.day.cq.security.util
 

Methods in com.day.cq.security.util with parameters of type JSONWriter
 void AuthorizableJSONWriter.write(JSONWriter writer, Authorizable authorizable)
          Deprecated.  
 

Uses of JSONWriter in com.day.cq.wcm.api
 

Methods in com.day.cq.wcm.api with parameters of type JSONWriter
 void Template.write(JSONWriter jsonWriter)
          Serializes this descriptor to json
 

Uses of JSONWriter in com.day.cq.wcm.api.components
 

Methods in com.day.cq.wcm.api.components with parameters of type JSONWriter
 void Toolbar.Item.write(JSONWriter writer)
          Serialize to JSON writer.
 void Toolbar.Custom.write(JSONWriter writer)
           
 void Toolbar.Button.write(JSONWriter writer)
           
 void Toolbar.Label.write(JSONWriter writer)
           
 void Toolbar.Separator.write(JSONWriter writer)
           
 void JcrToolbarItem.write(JSONWriter writer)
          Serialize to JSON writer.
 void EditAction.write(JSONWriter writer)
          Serialize to JSON writer.
 void Toolbar.write(JSONWriter writer, String key)
           
 

Uses of JSONWriter in com.day.cq.wcm.core.components
 

Methods in com.day.cq.wcm.core.components with parameters of type JSONWriter
 void CustomEditConfig.write(JSONWriter out)
           
 

Uses of JSONWriter in com.day.cq.wcm.msm.api
 

Methods in com.day.cq.wcm.msm.api with parameters of type JSONWriter
 void LiveAction.write(JSONWriter out)
          Deprecated. since 5.5
 

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(Node node, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
          Dump given node in JSON, optionally recursing into its child nodes
protected  void JsonItemWriter.dumpSingleNode(Node n, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)
          Dump a single node
protected  void JsonItemWriter.dumpValue(JSONWriter w, Value v)
          Writes the given value to the JSON writer. currently the following conversions are done: JSR Property Type JSON Value Type BINARY always 0 as long DATE converted date string as defined by ECMA BOOLEAN boolean LONG long DOUBLE double all other string 1 Currently not implemented and uses 0 as default.
protected  void JsonItemWriter.writeProperty(JSONWriter w, Property p)
          Write a single property
 



Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.