|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
com.oroad.stxx.xform.AbstractXMLForm
com.oroad.stxx.xform.JDOMForm
A form that uses JDOM to store the form information
| Field Summary |
| Fields inherited from class com.oroad.stxx.xform.AbstractXMLForm |
defaultXML, form, formPath, log, name, phase, schema, schemaNS, vsEnabled, xml |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
JDOMForm()
|
|
| Method Summary | |
org.jdom.Document |
getDefaultXML()
Gets the default xml |
org.jdom.Document |
getXML()
Gets the JDOM document |
void |
loadState(java.io.InputStream in)
Loads the JDOM document from the inputstream |
void |
outputXML(java.io.OutputStream out)
Serializes the XML removing all whitespace and omitting xml declarations |
void |
prePopulate()
Called before the form is populated |
void |
reset()
Resets the form |
void |
setDefaultXML(org.w3c.dom.Document doc)
Sets the default xml |
void |
setXML(org.jdom.Document xml)
Sets the JDOM document |
void |
setXML(org.w3c.dom.Document doc)
Sets the xml |
| Methods inherited from class com.oroad.stxx.xform.AbstractXMLForm |
getForm, getFormPath, getFormValidator, getLog, getName, getPhase, getSchemaNS, getValue, getValue, isInitialized, isViewstateEnabled, reset, save, setForm, setFormPath, setName, setPhase, setSchema, setSchemaNS, setValue, setViewstateEnabled, validate, 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 |
| Methods inherited from interface com.oroad.stxx.xform.XMLForm |
getForm, getFormPath, getName, getPhase, getSchemaNS, getValue, getValue, isInitialized, isViewstateEnabled, save, setForm, setFormPath, setName, setPhase, setSchema, setSchemaNS, setValue, setViewstateEnabled, validate |
| Constructor Detail |
public JDOMForm()
| Method Detail |
public void prePopulate()
prePopulate in interface XMLFormprePopulate in class AbstractXMLFormpublic org.jdom.Document getXML()
public void setXML(org.jdom.Document xml)
xml - The new documentpublic void setXML(org.w3c.dom.Document doc)
setXML in interface XMLFormsetXML in class AbstractXMLFormdoc - The default XMLpublic void setDefaultXML(org.w3c.dom.Document doc)
setDefaultXML in interface XMLFormsetDefaultXML in class AbstractXMLFormdoc - The default XMLpublic void loadState(java.io.InputStream in)
loadState in interface XMLFormloadState in class AbstractXMLFormin - The inputstreampublic void outputXML(java.io.OutputStream out)
outputXML in interface XMLFormoutputXML in class AbstractXMLFormout - The outputstreampublic void reset()
reset in interface XMLFormreset in class AbstractXMLFormpublic org.jdom.Document getDefaultXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||