Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.struts.upload.FormFile formFile  
      protected java.lang.String xml  
      • Fields inherited from class org.apache.struts.validator.ValidatorForm

        page, validatorResults
      • Fields inherited from class org.apache.struts.action.ActionForm

        multipartRequestHandler, servlet
    • 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
      • Methods inherited from class org.apache.struts.action.ActionForm

        getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • xml

        protected java.lang.String xml
      • formFile

        protected org.apache.struts.upload.FormFile formFile
    • Constructor Detail

      • ImportXMLForm

        public ImportXMLForm()
        Construct a form.
    • 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 class org.apache.struts.validator.ValidatorForm