|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A component interface to load template components.
| Method Summary | |
Component |
loadTemplate(String name,
boolean template)
Loads the template component whose name is given. |
ComponentType |
loadType(String name)
Loads the component type whose name is given. |
void |
registerExternalComponent(String name,
Component component)
Registers an external component under the given name. |
| Method Detail |
public ComponentType loadType(String name)
throws ParserException
name - a component type name.
ParserException - if the component type definition cannot be loaded,
if it is invalid, or if the corresponding component type object cannot
be created.
public Component loadTemplate(String name,
boolean template)
throws ParserException
name - a template name.template - true to return a template component,
false to return directly the instantiated component.
ParserException - if the template definition cannot be loaded, if it
is invalid, or if the corresponding template component cannot be
created.
public void registerExternalComponent(String name,
Component component)
name - the name of the external component.component - an already instantiated component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||