public class XFAJSONTransformer
extends java.lang.Object
Constructor and Description |
---|
XFAJSONTransformer(JSONObject xfaJson) |
XFAJSONTransformer(JSONObject xfaJson,
boolean saveObjects,
ResourceResolver resourceResolver,
java.lang.String xfaPath) |
XFAJSONTransformer(JSONObject xfaJson,
ResourceResolver resourceResolver,
java.lang.String xfaPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptLeaf(JSONObject leafJson) |
boolean |
acceptObject(JSONObject jsonObject) |
boolean |
checkIfSupportedTable(JSONObject containerJson)
Checks if the given XDP table is supported by adaptive forms
In adaptive forms, we don't support following:
a) Table with multiple headers
b) Table with no headers
c) Table within table
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getXFAObjects() |
java.lang.String |
transform() |
void |
transformTable(JSONObject tableJson)
Transforms XDP Table into adaptive forms Table
|
public XFAJSONTransformer(JSONObject xfaJson)
public XFAJSONTransformer(JSONObject xfaJson, ResourceResolver resourceResolver, java.lang.String xfaPath)
public XFAJSONTransformer(JSONObject xfaJson, boolean saveObjects, ResourceResolver resourceResolver, java.lang.String xfaPath)
public boolean acceptObject(JSONObject jsonObject) throws java.lang.Exception
java.lang.Exception
public java.lang.String transform()
public boolean checkIfSupportedTable(JSONObject containerJson) throws java.lang.Exception
containerJson
- java.lang.Exception
public void transformTable(JSONObject tableJson) throws java.lang.Exception
tableJson
- java.lang.Exception
public final java.util.Hashtable<java.lang.String,java.lang.String> getXFAObjects()
public boolean acceptLeaf(JSONObject leafJson) throws java.lang.Exception
java.lang.Exception
Copyright © 2010 - 2020 Adobe. All Rights Reserved