| fr.aliacom.form.common.IFormParser
All known Subclasses: fr.aliacom.form.swt.SWTFormParser,
IFormParser | public interface IFormParser (Code) | | Implementations of this interface are responsible of parsing xml forms. They
can be implemented with DOM and SAX parsers. They are called in a
synchronized way, so implementations do not need to be thread safe. They
should not be used directly by client code.
This
author: tom author: (C) 2001, 2003 Thomas Cataldo |
parse | public IForm parse(IForm form, String formName, FormContext ctx)(Code) | | This method is called by the FormManager to create an
instance of IForm
Parameters: form - the parent form (not null for dialog forms) Parameters: formName - the name of the xml ressource to parse Parameters: ctx - the value that will be loaded later in the form IForm the form resulting from parsing. |
parse | public IFormComponent parse(IForm form, IFormComponent parent, String formName, FormContext newVars)(Code) | | Parses the content of an xml for as a child component of an existing
formComponent. For example, the addTab method in
ITabbedPane implementions often uses this method.
Parameters: form - Parameters: parent - Parameters: formName - Parameters: newVars - IFormComponent |
reset | public void reset()(Code) | | This method is called by the FormManager after each call to
any parse method.
You can clean up any ressources used for parsing the form.
|
|
|