public class FieldNameResolverForData extends java.lang.Object implements ResourcePropertyTransformer
| Constructor and Description |
|---|
FieldNameResolverForData(java.lang.String data,
java.lang.String dataType,
java.lang.String[] fieldNames,
java.lang.String schemaRoot) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getMappedParameters() |
JSONObject |
transform(Resource resource,
java.lang.String parentSOM)
Transform the resource into a JSONObject.
|
public FieldNameResolverForData(java.lang.String data,
java.lang.String dataType,
java.lang.String[] fieldNames,
java.lang.String schemaRoot)
public JSONObject transform(Resource resource, java.lang.String parentSOM) throws JSONException
ResourcePropertyTransformertransform in interface ResourcePropertyTransformerresource - Resource whose JSON representation has to be returnedJSONExceptionpublic java.util.Map<java.lang.String,java.lang.String> getMappedParameters()
Copyright © 2010 - 2023 Adobe. All Rights Reserved