|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ComponentManager is an interface that is implemented to handle the management of ScriptComponents. StdComponentManager is the standard implementation of this interface.
StdComponentManager
Method Summary | |
boolean |
addComponent(ScriptComponent component)
addComponent adds a ScriptComponent to the ComponentManager using the name returned by the ScriptComponent. |
boolean |
addComponent(ScriptComponent component,
java.lang.String name)
addComponent adds a ScriptComponent to the ComponentManager by name. |
ScriptComponent |
getComponent(java.lang.String name)
getComponent returns a component of the specified name. |
ScriptFilter[] |
getFilters(Versioning versioning)
getFilters returns a set of ScriptFilters for the specified Versioning object. |
boolean |
removeComponent(java.lang.String name)
removeComponent removes a ScriptComponent from the ComponentManager. |
Method Detail |
public boolean addComponent(ScriptComponent component, java.lang.String name)
component
- The ScriptComponentname
- The name to store the ScriptComponent aspublic boolean addComponent(ScriptComponent component)
component
- The ScriptComponentpublic ScriptComponent getComponent(java.lang.String name)
name
- The name of the ScriptComponentpublic ScriptFilter[] getFilters(Versioning versioning)
version
- The versioning objectpublic boolean removeComponent(java.lang.String name)
name
- The name of the ScriptComponent
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |