Class Fragments
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.documentmerge.Fragments
-
public class Fragments extends Object
Class for providing support for Fragments. To know more about fragments use-case in document generation and document templates, please see the documentation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFragment(org.json.JSONObject fragment)
To add JsonObject into the fragments list.void
addFragments(List<org.json.JSONObject> fragments)
To add List of JsonObject into the fragments list.List<org.json.JSONObject>
getFragmentsList()
Returns the list of fragments.
-
-
-
Constructor Detail
-
Fragments
public Fragments()
Creates a newFragments
instance
-
-
Method Detail
-
addFragment
public void addFragment(org.json.JSONObject fragment)
To add JsonObject into the fragments list.- Parameters:
fragment
- JSON Object to be added to fragments list
-
addFragments
public void addFragments(List<org.json.JSONObject> fragments)
To add List of JsonObject into the fragments list.- Parameters:
fragments
- List of JSON object to be added to fragments list
-
getFragmentsList
public List<org.json.JSONObject> getFragmentsList()
Returns the list of fragments.- Returns:
- the list of fragments
-
-