Package net.ontopia.topicmaps.nav.conf
Class ControlConfig
java.lang.Object
net.ontopia.topicmaps.nav.conf.ControlConfig
- All Implemented Interfaces:
ControlConfigIF
PUBLIC: Provides model, view and skin information for the application
Implementors wanting to provide special models, view or skins can implement their own version which may use the controller.xml configuration file. The new class must implement ControlConfigIF.
-
Constructor Summary
ConstructorsConstructorDescriptionControlConfig(String resource) Constructor which takes a path to the configuration file. -
Method Summary
-
Constructor Details
-
ControlConfig
Constructor which takes a path to the configuration file.
-
-
Method Details
-
update
Updates the state of the object to include user preferences. The application makes its own default model, view and skin for a particular request.userUpdateallows the user preferences to be incorporated- Specified by:
updatein interfaceControlConfigIF- Parameters:
model- a string representing the model choiceview- a string representing the view choiceskin- a string representing the skin choice
-
getModelPath
- Specified by:
getModelPathin interfaceControlConfigIF
-
getViewPath
- Specified by:
getViewPathin interfaceControlConfigIF
-
getSkinPath
- Specified by:
getSkinPathin interfaceControlConfigIF
-
getBehaviour
- Specified by:
getBehaviourin interfaceControlConfigIF
-
getContentType
- Specified by:
getContentTypein interfaceControlConfigIF
-
getModel
- Specified by:
getModelin interfaceControlConfigIF
-
getView
- Specified by:
getViewin interfaceControlConfigIF
-
getSkin
- Specified by:
getSkinin interfaceControlConfigIF
-