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 void
write(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.Item
Serialize to JSON writer.- Specified by:
write
in interfaceToolbar.Item
- Parameters:
writer
- the writer- Throws:
JSONException
- if a JSON error occurs.
-
-