|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.server.impl.browser.json.JSONConverter
public class JSONConverter
OpenCMIS objects to JSON converter.
Method Summary | |
---|---|
static org.json.simple.JSONObject |
convert(Acl acl)
Converts an ACL. |
static org.json.simple.JSONObject |
convert(AclCapabilities capabilities)
Converts an ACL capabilities object. |
static org.json.simple.JSONObject |
convert(AllowableActions allowableActions)
Converts allowable actions. |
static org.json.simple.JSONObject |
convert(ObjectData object,
TypeCache typeCache)
Converts an object. |
static org.json.simple.JSONObject |
convert(ObjectInFolderContainer container,
TypeCache typeCache)
Converts a folder container. |
static org.json.simple.JSONObject |
convert(ObjectInFolderData objectInFolder,
TypeCache typeCache)
Converts an object in a folder list. |
static org.json.simple.JSONObject |
convert(ObjectInFolderList objectInFolderList,
TypeCache typeCache)
Converts a folder list. |
static org.json.simple.JSONObject |
convert(ObjectList list)
Converts a query object list. |
static org.json.simple.JSONObject |
convert(ObjectParentData parent,
TypeCache typeCache)
Converts an object parent. |
static org.json.simple.JSONObject |
convert(PropertyData<?> property,
PropertyDefinition<?> propDef)
Converts a property. |
static org.json.simple.JSONObject |
convert(PropertyDefinition<?> propertyDef)
Converts a property type definition. |
static org.json.simple.JSONObject |
convert(RenditionData rendition)
Converts a rendition. |
static org.json.simple.JSONObject |
convert(RepositoryCapabilities capabilities)
Converts a capabilities object. |
static org.json.simple.JSONObject |
convert(RepositoryInfo repositoryInfo,
javax.servlet.http.HttpServletRequest request)
Converts a repository info object. |
static org.json.simple.JSONObject |
convert(TypeDefinition type)
Converts a type definition. |
static org.json.simple.JSONObject |
convert(TypeDefinitionContainer container)
Converts a type definition container. |
static org.json.simple.JSONObject |
convert(TypeDefinitionList list)
Converts a type definition list. |
static org.json.simple.JSONArray |
getJSONArrayFromList(List<?> list)
|
static String |
getJSONPropertyDataType(PropertyData<?> property)
|
static String |
getJSONStringValue(Object obj)
|
static Object |
getJSONValue(Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.json.simple.JSONObject convert(RepositoryInfo repositoryInfo, javax.servlet.http.HttpServletRequest request)
public static org.json.simple.JSONObject convert(RepositoryCapabilities capabilities)
public static org.json.simple.JSONObject convert(AclCapabilities capabilities)
public static org.json.simple.JSONObject convert(ObjectData object, TypeCache typeCache)
public static org.json.simple.JSONObject convert(PropertyData<?> property, PropertyDefinition<?> propDef)
public static org.json.simple.JSONObject convert(AllowableActions allowableActions)
public static org.json.simple.JSONObject convert(Acl acl)
public static org.json.simple.JSONObject convert(RenditionData rendition)
public static org.json.simple.JSONObject convert(ObjectList list)
public static org.json.simple.JSONObject convert(ObjectInFolderData objectInFolder, TypeCache typeCache)
public static org.json.simple.JSONObject convert(ObjectInFolderList objectInFolderList, TypeCache typeCache)
public static org.json.simple.JSONObject convert(ObjectInFolderContainer container, TypeCache typeCache)
public static org.json.simple.JSONObject convert(ObjectParentData parent, TypeCache typeCache)
public static org.json.simple.JSONObject convert(TypeDefinition type)
public static org.json.simple.JSONObject convert(PropertyDefinition<?> propertyDef)
public static org.json.simple.JSONObject convert(TypeDefinitionList list)
public static org.json.simple.JSONObject convert(TypeDefinitionContainer container)
public static String getJSONStringValue(Object obj)
public static Object getJSONValue(Object value)
public static org.json.simple.JSONArray getJSONArrayFromList(List<?> list)
public static String getJSONPropertyDataType(PropertyData<?> property)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |