| com.xoetrope.builder.w3c.xforms.XFormsBuilder
XFormsBuilder | public class XFormsBuilder extends XuiBuilder (Code) | | An experimental build for W3C XForms XML format
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.8 $
|
GROUP | final public static int GROUP(Code) | | |
INPUT | final public static int INPUT(Code) | | |
MODEL | final public static int MODEL(Code) | | |
RANGE | final public static int RANGE(Code) | | |
SECRET | final public static int SECRET(Code) | | |
SELECT | final public static int SELECT(Code) | | |
SELECT1 | final public static int SELECT1(Code) | | |
SUBMIT | final public static int SUBMIT(Code) | | |
TEXTAREA | final public static int TEXTAREA(Code) | | |
TRIGGER | final public static int TRIGGER(Code) | | |
UPLOAD | final public static int UPLOAD(Code) | | |
XFormsBuilder | public XFormsBuilder(XProject project)(Code) | | |
addComponent | protected Component addComponent(String childName, XmlElement childNode)(Code) | | Adds an individual component element to the page (this method may be called
recursively for nested elements). Several methods will be attempted until a
component is successfully created. Firstly the built-in component types are
checked, then any additional registered component constructors. The types
can be specified by type ID, type name or class name.
Parameters: childName - the name of the child element Parameters: childNode - the XML element containing the component specification. the new component |
getType | public String getType()(Code) | | Get the page loader type - a unique name identifying the loader
"xforms" |
readEvents | protected boolean readEvents(XmlElement model)(Code) | | Read html elements
Parameters: model - the XHTML true if the children require further processing |
readForm | protected void readForm(XmlElement model)(Code) | | Read a form element
Parameters: model - the XML true if the children require further processing |
readHtml | protected boolean readHtml(XmlElement model)(Code) | | Read html elements
Parameters: model - the XHTML true if the children require further processing |
readPage | public PageSupport readPage(Reader reader, String pageName, boolean include)(Code) | | Read an XML description of the page and construct a new XPage. An instance
of the class specified by the class attribute is constructed or else an
instance of XPage if no class attribute is specified. The new page is
populated but is not yet added to its parent.
The startup file parameter 'DefaultClass' is used to obtain a default for
each page's class if a class parameter is not specified in the page's XML
The startup file parameter 'Validations' is used to obtain a default for
each page's set of validation rules
Parameters: reader - a input stream from which to read the page Parameters: pageName - the name of the page Parameters: include - the page to be loaded is being included in another page the page |
readSelect | protected void readSelect(XmlElement selectNode)(Code) | | Read a select node
Parameters: selectNode - the xml representing the select item |
readSelect1 | protected void readSelect1(XmlElement selectNode)(Code) | | Read a select1 node
Parameters: selectNode - the xml representing the select item |
setupFormTags | protected void setupFormTags()(Code) | | |
|
|