public class SubmitFormAction extends Action
| Modifier and Type | Field and Description | 
|---|---|
| static String | ACTION_TYPE_DESCRIPTION | 
OPEN_EXISTING_WINDOW, OPEN_NEW_WINDOW, OPEN_USER_PREFERENCE| 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 | 
| List<String> | getFields()Returns the List of field names 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(List<String> fields)Sets the List of field names associated with the action. | 
| String | toString()Returns the description of the action. | 
getNextAction, setNextActionpublic 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()
ActiongetActionType in class Actionpublic String getActionTypeDesc()
ActiongetActionTypeDesc in class Actionpublic URL getSubmitURL()
public int getFlags()
public List<String> getFields()
public void setFields(List<String> fields)
fields - associated with the submit action.public String toString()
public boolean isSubmitAsXML()
public String getSubmitURLString()