org.mycore.frontend.editor
Class MCREditorSubmission
java.lang.Object
org.mycore.frontend.editor.MCREditorSubmission
public class MCREditorSubmission
- extends Object
Container class that holds all data and files edited and submitted from an
HTML page that contains a MyCoRe XML editor form.
- Version:
- $Revision: 15295 $ $Date: 2009-05-29 15:15:55 +0200 (Fri, 29 May 2009) $
- Author:
- Frank Lützenkirchen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCREditorSubmission
MCREditorSubmission(Element input,
Element editor)
- Set variables from source xml file that should be edited
- Parameters:
input - the root element of the XML inputeditor - the editor definition
MCREditorSubmission
MCREditorSubmission(MCRRequestParameters parms,
Element editor,
boolean validate)
MCREditorSubmission
MCREditorSubmission(Element saved,
List submitted,
String root,
MCRRequestParameters parms)
MCREditorSubmission
MCREditorSubmission(Element editor)
getVariables
public List getVariables()
getFiles
public List getFiles()
getFile
public org.apache.commons.fileupload.FileItem getFile(Object xmlNode)
getXMLNode
public Object getXMLNode(org.apache.commons.fileupload.FileItem file)
getXML
public Document getXML()
buildInputElements
Element buildInputElements()
buildRepeatElements
Element buildRepeatElements()
buildFailedConditions
Element buildFailedConditions()
errors
boolean errors()
getParameters
public MCRRequestParameters getParameters()
doPlus
void doPlus(String prefix,
int nr)
doMinus
void doMinus(String prefix,
int nr)
doUp
void doUp(String prefix,
int nr)
changeRepeatNumber
void changeRepeatNumber(String prefix,
int change)
changeVariablesAndRepeats
void changeVariablesAndRepeats(String prefix,
int nr,
int change)