|
||||||||||
| 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.DOMForm
A form that uses W3C DOM to store the form data
| 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 | |
DOMForm()
|
|
| Method Summary | |
org.w3c.dom.Document |
getDefaultXML()
Gets the default xml |
org.w3c.dom.Document |
getXML()
Gets the DOM document |
void |
loadState(java.io.InputStream in)
Loads the XML from the inputstream |
void |
outputXML(java.io.OutputStream out)
Serializes the XML |
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.w3c.dom.Document xml)
Sets the DOM document |
| 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 DOMForm()
| Method Detail |
public void prePopulate()
prePopulate in interface XMLFormprePopulate in class AbstractXMLFormpublic org.w3c.dom.Document getXML()
public void setXML(org.w3c.dom.Document xml)
setXML in interface XMLFormsetXML in class AbstractXMLFormxml - The new documentpublic void setDefaultXML(org.w3c.dom.Document doc)
setDefaultXML in interface XMLFormsetDefaultXML in class AbstractXMLFormdoc - The default XMLpublic org.w3c.dom.Document getDefaultXML()
public void reset()
reset in interface XMLFormreset in class AbstractXMLFormpublic 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 outputstream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||