public class SubmitFormAction extends Action
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_TYPE_DESCRIPTION |
Constructor and Description |
---|
SubmitFormAction(String submitMalformedURL,
int flags)
Constructs the action with a destination for the form and flags controlling the action.
|
SubmitFormAction(URL submitURL,
int flags)
Constructs the action with a destination for the form and flags controlling the action.
|
SubmitFormAction(URL submitURL,
int flags,
boolean submitXML)
Constructs the action with a destination for the form and flags controlling the action.
|
Modifier and Type | Method and Description |
---|---|
String |
getActionType()
Returns the type of action.
|
String |
getActionTypeDesc()
Returns the action type description
|
com.qoppa.pdf.loObjects.PDFArray |
getFields()
Returns the fields that are associated with this submit action.
|
int |
getFlags()
Returns the flags representing the details of the action.
|
URL |
getSubmitURL()
Returns the destination of the action.
|
String |
getSubmitURLString()
Return a string representing the attempted destination of the action.
|
boolean |
isSubmitAsXML()
Return whether this SubmitFormAction is supposed to submit the fields in XML format.
|
void |
setFields(com.qoppa.pdf.loObjects.PDFArray fields)
Sets the fields associated with the action.
|
String |
toString()
Returns the description of the action.
|
public static String ACTION_TYPE_DESCRIPTION
public SubmitFormAction(URL submitURL, int flags)
submitURL
- The destination for submitting forms.flags
- Flags determining details of the action.public SubmitFormAction(URL submitURL, int flags, boolean submitXML)
submitURL
- The destination for submitting forms.flags
- Flags determining details of the action.submitXML
- A boolean for the submit type being XML which isn't supported by the flagspublic SubmitFormAction(String submitMalformedURL, int flags)
submitMalformedURL
- The destination for submitting forms.flags
- Flags determining details of the action.public String getActionType()
Action
getActionType
in class Action
public String getActionTypeDesc()
Action
getActionTypeDesc
in class Action
public URL getSubmitURL()
public int getFlags()
public com.qoppa.pdf.loObjects.PDFArray getFields()
public void setFields(com.qoppa.pdf.loObjects.PDFArray fields)
fields
- associated with the submit action.public String toString()
public boolean isSubmitAsXML()
public String getSubmitURLString()