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
ResourcePropertyTransformer
transform
in interface ResourcePropertyTransformer
resource
- Resource whose JSON representation has to be returnedJSONException
public java.util.Map<java.lang.String,java.lang.String> getMappedParameters()
Copyright © 2010 - 2020 Adobe. All Rights Reserved