Package org.intermine.web.struts
Class ImportXMLForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.apache.struts.validator.ValidatorForm
-
- org.intermine.web.struts.ImportXMLForm
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ImportQueriesForm
,TemplatesImportForm
public class ImportXMLForm extends org.apache.struts.validator.ValidatorForm
Form bean representing a generic import form.- Author:
- Daniela Butano
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportXMLForm()
Construct a form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.struts.upload.FormFile
getFormFile()
Get the FormFile.java.lang.String
getXml()
Get the xml.protected void
reset()
Reset the form.void
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
void
setFormFile(org.apache.struts.upload.FormFile formFile)
Set the FormFile.void
setXml(java.lang.String xml)
Set the xml.-
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults, validate
-
-
-
-
Method Detail
-
getXml
public java.lang.String getXml()
Get the xml.- Returns:
- query in xml format
-
setXml
public void setXml(java.lang.String xml)
Set the xml.- Parameters:
xml
- query in xml format
-
setFormFile
public void setFormFile(org.apache.struts.upload.FormFile formFile)
Set the FormFile.- Parameters:
formFile
- the FormFile
-
getFormFile
public org.apache.struts.upload.FormFile getFormFile()
Get the FormFile.- Returns:
- the FormFile.
-
reset
protected void reset()
Reset the form.
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
reset
in classorg.apache.struts.validator.ValidatorForm
-
-