|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormManager
Work interface for the component that can create Form
s.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
Form |
createForm(Element formElement)
Creates a form instance based on the XML form definition that is supplied as a DOM tree. |
Form |
createForm(Source source)
Creates a form instance based on the XML form definition that can be read from the specified source. |
Form |
createForm(String uri)
Creates a form instance based on the XML form definition that can be retrieved from the specified URI. |
FormDefinition |
createFormDefinition(Element formElement)
Creates a form definition based on the XML form definition that is supplied as a DOM tree. |
FormDefinition |
createFormDefinition(Source source)
Creates a form definition based on the XML form definition that can be retrieved from the specified source. |
FormDefinition |
createFormDefinition(String uri)
Creates a form definition based on the XML form definition that can be retrieved from the specified URI. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Form createForm(String uri) throws Exception
The form definition will be cached, so that future form instances can be created quickly.
Exception
Form createForm(Source source) throws Exception
To avoid having to resolve the Source object yourself,
use the createForm(String)
method.
The form definition will be cached, so that future form instances can be created quickly.
Exception
Form createForm(Element formElement) throws Exception
The specified element must be a fd:form element.
The Form Definition will not be cached.
Exception
FormDefinition createFormDefinition(String uri) throws Exception
The root element must be a <fd:form> element.
The form definition will be cached, so that future form instances can be created quickly.
Exception
FormDefinition createFormDefinition(Source source) throws Exception
To avoid having to resolve the Source object yourself,
use the createFormDefinition(String)
method.
The root element must be a <fd:form> element.
The form definition will be cached, so that future form instances can be created quickly.
Exception
FormDefinition createFormDefinition(Element formElement) throws Exception
The specified element must be a <fd:form> element.
The Form Definition will not be cached.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |