Package de.xima.fc.gui.model.designer
Class WebFormPersistFile
- java.lang.Object
-
- de.xima.fc.gui.model.designer.WebFormPersistFile
-
- All Implemented Interfaces:
Serializable
public final class WebFormPersistFile extends Object implements Serializable
POJO representing the different types of form persist files.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebFormPersistFile
empty()
static WebFormPersistFile
forAdobeLivecycle(String fileName, String livecycleXml)
static WebFormPersistFile
forPersistJson(String fileName, String persistJson)
Object
getData()
String
getFileName()
String
getLivecycleXml()
String
getPersistJson()
String
getType()
boolean
isAdobeLivecycle()
boolean
isPersistJson()
-
-
-
Method Detail
-
getData
public Object getData()
-
getFileName
public String getFileName()
- Returns:
- The file name of the persist file.
-
getLivecycleXml
public String getLivecycleXml()
- Returns:
- The livecycle XML string, when
isAdobeLivecycle()
.
-
getPersistJson
public String getPersistJson()
- Returns:
- The persist JSON object, when
isPersistJson()
.
-
getType
public String getType()
-
isAdobeLivecycle
public boolean isAdobeLivecycle()
- Returns:
- Whether this is a livecycle file.
-
isPersistJson
public boolean isPersistJson()
- Returns:
- Whether this is a persist JSON file.
-
empty
public static WebFormPersistFile empty()
- Returns:
- A new empty persist file with no type.
-
forAdobeLivecycle
public static WebFormPersistFile forAdobeLivecycle(String fileName, String livecycleXml)
- Parameters:
fileName
- File name of the livecycle persist file.livecycleXml
- Livecycle XML string.- Returns:
- A new livecycle web form persist file.
-
forPersistJson
public static WebFormPersistFile forPersistJson(String fileName, String persistJson)
- Parameters:
fileName
- File name of the persist JSON file.persistJson
- Livecycle XML string.- Returns:
- A new persist JSON web form persist file.
-
-