Package com.day.cq.wcm.api.components
Class Toolbar.Custom
- java.lang.Object
-
- org.apache.sling.commons.json.JSONObject
-
- com.day.cq.wcm.api.components.Toolbar.Custom
-
- All Implemented Interfaces:
Toolbar.Item
- Enclosing class:
- Toolbar
public static class Toolbar.Custom extends JSONObject implements Toolbar.Item
-
-
Field Summary
-
Fields inherited from class org.apache.sling.commons.json.JSONObject
NULL
-
-
Constructor Summary
Constructors Constructor Description Custom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(JSONWriter writer)Serialize to JSON writer.-
Methods inherited from class org.apache.sling.commons.json.JSONObject
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getString, has, isNull, keys, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOpt, quote, remove, toJSONArray, toString, toString, valueToString, write
-
-
-
-
Method Detail
-
write
public void write(JSONWriter writer) throws JSONException
Description copied from interface:Toolbar.ItemSerialize to JSON writer.- Specified by:
writein interfaceToolbar.Item- Parameters:
writer- the writer- Throws:
JSONException- if a JSON error occurs.
-
-