程序包 | 说明 |
---|---|
org.opencms.ade.configuration | |
org.opencms.gwt |
Provides core support for GWT.
|
org.opencms.json |
Classes to create JSON objects and arrays for JavaScript in OpenCms.
|
org.opencms.search.documents |
Handles indexing different sorts of document and resource type from the OpenCms VFS for the full text search.
|
org.opencms.util |
Utility functions for String manipulation and other often used tasks.
|
org.opencms.widgets |
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
|
org.opencms.workplace.galleries |
Contains the various "Galleries" which are available in the editors and widgets of the OpenCms Workplace.
|
org.opencms.xml.content |
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
|
限定符和类型 | 方法和说明 |
---|---|
protected JSONObject |
CmsADEManager.elementToJson(CmsContainerElementBean element,
java.util.Set<java.lang.String> excludeSettings)
Converts the given element to JSON.
|
限定符和类型 | 方法和说明 |
---|---|
protected CmsContainerElementBean |
CmsADEManager.elementFromJson(JSONObject data)
Creates an element from its serialized data.
|
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
I_CmsCoreProvider.getData(javax.servlet.http.HttpServletRequest request)
Returns the provided json data.
|
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
JSONObject.accumulate(java.lang.String key,
java.lang.Object value)
Accumulate values under a key.
|
JSONObject |
JSONObject.append(java.lang.String key,
java.lang.Object value)
Append values to the array under a key.
|
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
JSONObject |
JSONObject.getJSONObject(java.lang.String key)
Get the JSONObject value associated with a key.
|
JSONObject |
JSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index.
|
JSONObject |
JSONObject.optJSONObject(java.lang.String key)
Get an optional JSONObject associated with a key.
|
JSONObject |
JSONObject.put(java.lang.String key,
boolean value)
Put a key/boolean pair in the JSONObject.
|
JSONObject |
JSONObject.put(java.lang.String key,
java.util.Collection<java.lang.Object> value)
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
|
JSONObject |
JSONObject.put(java.lang.String key,
double value)
Put a key/double pair in the JSONObject.
|
JSONObject |
JSONObject.put(java.lang.String key,
int value)
Put a key/int pair in the JSONObject.
|
JSONObject |
JSONObject.put(java.lang.String key,
long value)
Put a key/long pair in the JSONObject.
|
JSONObject |
JSONObject.put(java.lang.String key,
java.util.Map<java.lang.String,java.lang.Object> value)
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
|
JSONObject |
JSONObject.put(java.lang.String key,
java.lang.Object value)
Put a key/value pair in the JSONObject.
|
JSONObject |
JSONObject.putOpt(java.lang.String key,
java.lang.Object value)
Put a key/value pair in the JSONObject, but only if the
key and the value are both non-null.
|
static JSONObject |
CDL.rowToJSONObject(JSONArray names,
JSONTokener x)
Produce a JSONObject from a row of comma delimited text, using a
parallel JSONArray of strings to provides the names of the elements.
|
JSONObject |
I_CmsJsonifable.toJson()
Returns the JSON representation of this object.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
|
static JSONObject |
XML.toJSONObject(java.lang.String string)
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject.
|
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String[] |
JSONObject.getNames(JSONObject jo)
Get an array of field names from a JSONObject.
|
void |
JSONObject.merge(JSONObject jo,
boolean overwrite,
boolean deep)
Merges the current JSON object with the given one, modifying the this.
|
构造器和说明 |
---|
JSONObject(JSONObject jo,
java.lang.String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
CmsDocumentDependency.toJSON(CmsObject cms,
boolean includeLang)
Returns a JSON object describing this dependency document.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsDocumentDependency.fromJSON(JSONObject json,
java.lang.String rootPath)
Read the information out of the given JSON object to fill
the values of the document.
|
限定符和类型 | 方法和说明 |
---|---|
static JSONObject |
CmsRequestUtil.getJsonParameterMap(java.util.Map<java.lang.String,java.lang.String[]> params)
Converts the given parameter map into an JSON object.
|
限定符和类型 | 方法和说明 |
---|---|
static java.util.Map<java.lang.String,java.lang.String[]> |
CmsRequestUtil.getParameterMapFromJSON(JSONObject params)
Converts the given JSON object into a valid parameter map.
|
限定符和类型 | 字段和说明 |
---|---|
protected JSONObject |
A_CmsNativeComplexWidget.m_jsonConfig
The configuration map in JSON format.
|
限定符和类型 | 方法和说明 |
---|---|
protected JSONObject |
CmsAdeDownloadGalleryWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected JSONObject |
CmsAdeImageGalleryWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected JSONObject |
CmsVfsImageWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected abstract JSONObject |
A_CmsAdeGalleryWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns additional widget information encapsulated in a JSON object.
|
protected JSONObject |
CmsVfsFileWidget.getJsonConfig(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Gets the JSON configuration.
|
protected JSONObject |
A_CmsAdeGalleryWidget.getJSONConfig(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the gallery widget configuration as a JSON object.
|
protected JSONObject |
CmsHtmlWidget.getJSONConfiguration(CmsObject cms,
CmsResource resource)
Returns the WYSIWYG editor configuration as a JSON object.
|
限定符和类型 | 方法和说明 |
---|---|
protected JSONObject |
A_CmsAjaxGallery.buildJsonItemObject(CmsResource res)
Returns a JSON object containing information of the given resource for usage in the gallery.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
A_CmsAjaxGallery.buildJsonItemCommonPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the information used for all resource types.
|
protected void |
CmsAjaxImageGallery.buildJsonItemSpecificPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the specific information used for image resource type.
|
protected void |
CmsAjaxDownloadGallery.buildJsonItemSpecificPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the specific information used for download file resource type.
|
protected abstract void |
A_CmsAjaxGallery.buildJsonItemSpecificPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the specific information used for this resource type.
|
protected void |
CmsAjaxLinkGallery.buildJsonItemSpecificPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the specific information used for pointer file resource type.
|
protected void |
CmsAjaxTableGallery.buildJsonItemSpecificPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the specific information used for file resource type of the table gallery.
|
protected void |
CmsAjaxHtmlGallery.buildJsonItemSpecificPart(JSONObject jsonObj,
CmsResource res,
java.lang.String sitePath)
Fills the JSON object with the specific information used for the resources of the html gallery.
|
限定符和类型 | 方法和说明 |
---|---|
static JSONObject |
CmsXmlContentPropertyHelper.getWidgetConfigurationAsJSON(java.lang.String widgetConfiguration)
Returns the widget configuration string parsed into a JSONObject.
|