| java.lang.Object com.xoetrope.builder.w3c.html.XHtmlComponentFactory
XHtmlComponentFactory | public class XHtmlComponentFactory implements XComponentConstructor(Code) | | A factory class used to add the components available as part of the html form/page
Copyright: Copyright Xoetrope Ltd. (c) 2001-2006
License: see license.txt
$Revision: 1.3 $
|
XHtmlComponentFactory | public XHtmlComponentFactory()(Code) | | |
addElement | public Object addElement(XComponentFactory cf, String type, String name, String content, Hashtable attribs)(Code) | | A factory method for adding non component elements. This includes question
response elements
Parameters: cf - the calling component factory Parameters: type - the object type Parameters: name - a name identifying the element to be created Parameters: content - the component text/content Parameters: attribs - the element attributes if any |
constructComponent | public Component constructComponent(XComponentFactory cf, String type, String content)(Code) | | Constructs HTML components on behalf of the component factory. At present
the following types are supported
Parameters: cf - the calling component factory Parameters: type - the component type name Parameters: content - the contents if applicable the new component |
getComponentAdapter | public ComponentAdapter getComponentAdapter(String type)(Code) | | Get the component adapter for this type
Parameters: the - name identifying the type |
setPackageName | public void setPackageName(String defPackage)(Code) | | |
update | public void update()(Code) | | |
|
|