Package com.dynamicpdf.api
Class DlexInput
java.lang.Object
com.dynamicpdf.api.Input
com.dynamicpdf.api.DlexInput
Represents a Dlex input.
-
Constructor Summary
ConstructorDescriptionDlexInput(DlexResource dlexResource, LayoutDataResource layoutData)
Initializes a new instance of theDlexInput
class by posting the DLEX file and the JSON data file from the client to the API to create the PDF report.DlexInput(String cloudResourcePath, LayoutDataResource layoutData)
Initializes a new instance of theDlexInput
class by taking the DLEX file path that is present in the cloud environment and the JSON data file from the client.Initializes a new instance of theDlexInput
class. -
Method Summary
Modifier and TypeMethodDescriptionGets the name for layout data resource.void
setLayoutDataResourceName(String value)
sets the name for layout data resource.Methods inherited from class com.dynamicpdf.api.Input
getId, getResourceName, getTemplate, setId, setResourceName, setTemplate
-
Constructor Details
-
DlexInput
Initializes a new instance of theDlexInput
class by posting the DLEX file and the JSON data file from the client to the API to create the PDF report.- Parameters:
dlexResource
- TheDlexResource
, dlex file created as per the desired PDF report layout design.layoutData
- TheLayoutDataResource
, json data file used to create the PDF report.
-
DlexInput
Initializes a new instance of theDlexInput
class by taking the DLEX file path that is present in the cloud environment and the JSON data file from the client.- Parameters:
cloudResourcePath
- The DLEX file path present in the resource manager.layoutData
- TheLayoutDataResource
, json data file used to create the PDF report.
-
DlexInput
Initializes a new instance of theDlexInput
class.- Parameters:
cloudResourcePath
- The DLEX file path present in the resource manager.cloudLayoutDataPath
- The JSON data file path present in the resource manager used to create the PDF report.
-
-
Method Details
-
getLayoutDataResourceName
Gets the name for layout data resource.- Returns:
- The Name of Layout Data Resource
-
setLayoutDataResourceName
sets the name for layout data resource.- Parameters:
value
- The name for layout data resource.
-