public class DynamicForm extends java.lang.Object implements XMLable, JSONCacheable, DeepCloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
DEFAULT_BUFFER_SIZE
hiddenAttributes$TRANSIENT
Constructor and Description |
---|
DynamicForm() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this object.
|
static DynamicForm |
fromXML(org.w3c.dom.Node dNode)
Creates a form from xml
|
static DynamicForm |
fromXML(org.w3c.dom.Node node,
FormElement.InferFormElementCallback callback) |
boolean |
getContainsLocalFile()
Gets whether the form contains a local file
|
FormElement[] |
getElements()
Gets the elements of the form
|
java.util.HashSet |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.String |
getInstructions()
Gets the instructions for the form
|
boolean |
isDisplayInstructions()
Whether the form will display instructions
|
void |
setDisplayInstructions(boolean displayInstructions_)
Sets if the form will display instructions
|
void |
setElements(FormElement[] elements_)
Sets the elements of the form
|
void |
setInstructions(java.lang.String instructions_)
Sets the instructions for the form
|
java.lang.String |
toXML()
Converts the form to xml
|
void |
toXML(java.lang.StringBuilder buffer_)
Converts the from to xml
|
public java.util.HashSet getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
public java.lang.Object clone()
clone
in interface DeepCloneable
clone
in class java.lang.Object
public boolean getContainsLocalFile()
public boolean isDisplayInstructions()
public void setDisplayInstructions(boolean displayInstructions_)
displayInstructions_
- if the form will display instructionsisDisplayInstructions()
public java.lang.String getInstructions()
public void setInstructions(java.lang.String instructions_)
instructions_
- the instructions to set for the formgetInstructions()
public FormElement[] getElements()
public void setElements(FormElement[] elements_)
elements_
- the elements to set on the formgetElements()
public java.lang.String toXML()
public void toXML(java.lang.StringBuilder buffer_)
public static DynamicForm fromXML(org.w3c.dom.Node dNode)
dNode
- the xml to create the form fromDynamicForm
created from the xmlpublic static DynamicForm fromXML(org.w3c.dom.Node node, FormElement.InferFormElementCallback callback)
Copyright © 2003-2023 Appian Corporation. All Rights Reserved.