Package com.dynamicpdf.api
Class LayoutDataResource
java.lang.Object
com.dynamicpdf.api.Resource
com.dynamicpdf.api.LayoutDataResource
Represents the Layout data resource used to create PDF reports.
- 
Constructor Summary
ConstructorsConstructorDescriptionLayoutDataResource(Object layoutData)Initializes a new instance of theLayoutDataResourceclass using the layout data object.LayoutDataResource(Object layoutData, String layoutDataResourceName)Initializes a new instance of theLayoutDataResourceclass using the layout data object and a resource name.LayoutDataResource(String layoutData)Initializes a new instance of theLayoutDataResourceclass using a JSON file with data.LayoutDataResource(String layoutData, String layoutDataResourceName)Initializes a new instance of theLayoutDataResourceclass using a JSON file with data and a resource name. - 
Method Summary
Modifier and TypeMethodDescriptionGets the name of the layout data resource.voidsetLayoutDataResourceName(String value)Sets the name of the layout data resource.Methods inherited from class com.dynamicpdf.api.Resource
getResourceName, setResourceName 
- 
Constructor Details
- 
LayoutDataResource
Initializes a new instance of theLayoutDataResourceclass using the layout data object and a resource name.- Parameters:
 layoutData- Serializable object data to create PDF report.layoutDataResourceName- The name for layout data resource.
 - 
LayoutDataResource
Initializes a new instance of theLayoutDataResourceclass using the layout data object.- Parameters:
 layoutData- Serializable object data to create PDF report.
 - 
LayoutDataResource
Initializes a new instance of theLayoutDataResourceclass using a JSON file with data and a resource name.- Parameters:
 layoutData- The layout data JSON file path.layoutDataResourceName- The name for layout data resource.
 - 
LayoutDataResource
Initializes a new instance of theLayoutDataResourceclass using a JSON file with data.- Parameters:
 layoutData- The layout data JSON file path.
 
 - 
 - 
Method Details
- 
getLayoutDataResourceName
Gets the name of the layout data resource.- Returns:
 - The name of the layout data resource.
 
 - 
setLayoutDataResourceName
Sets the name of the layout data resource.- Parameters:
 value- The name of the layout data resource.
 
 -