public class XFormsProcessor extends java.lang.Object implements FormProcessor
FormProcessor.ProcessingException, FormProcessor.Session| Constructor and Description |
|---|
XFormsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
FormProcessor.Session |
process(org.w3c.dom.Document instanceDataDocument,
java.lang.String formInstanceDataName,
Form form,
java.io.Writer out)
Processes a user interface for inputing data into a form.
|
void |
process(FormProcessor.Session session,
java.io.Writer out)
Generates html text which bootstraps the JavaScript code that will
call back into the XFormsBean and get the xform and build the ui.
|
public FormProcessor.Session process(org.w3c.dom.Document instanceDataDocument, java.lang.String formInstanceDataName, Form form, java.io.Writer out) throws FormProcessor.ProcessingException
FormProcessorprocess in interface FormProcessorinstanceDataDocument - provides the xml instance data if available.formInstanceDataName - the name of the form instance data being modified.form - the form to generate forout - the writer to write the output to.FormProcessor.ProcessingExceptionpublic void process(FormProcessor.Session session, java.io.Writer out) throws FormProcessor.ProcessingException
process in interface FormProcessorsession - the session to use.out - the writer to write the output to.FormProcessor.ProcessingExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.