net.ontopia.topicmaps.nav.conf
Class ControlConfig
java.lang.Object
net.ontopia.topicmaps.nav.conf.ControlConfig
- All Implemented Interfaces:
- ControlConfigIF
public class ControlConfig
- extends java.lang.Object
- implements 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 |
ControlConfig(java.lang.String resource)
Constructor which takes a path to the configuration file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlConfig
public ControlConfig(java.lang.String resource)
- Constructor which takes a path to the configuration file.
update
public void update(java.lang.String model,
java.lang.String view,
java.lang.String skin)
- Updates the state of the object to include user preferences.
The application makes its own default model, view and skin for a particular
request.
userUpdate
allows the user preferences to be
incorporated
- Specified by:
update
in interface ControlConfigIF
- Parameters:
model
- a string representing the model choiceview
- a string representing the view choiceskin
- a string representing the skin choice
getModelPath
public java.lang.String getModelPath()
- Specified by:
getModelPath
in interface ControlConfigIF
getViewPath
public java.lang.String getViewPath()
- Specified by:
getViewPath
in interface ControlConfigIF
getSkinPath
public java.lang.String getSkinPath()
- Specified by:
getSkinPath
in interface ControlConfigIF
getBehaviour
public java.lang.String getBehaviour()
- Specified by:
getBehaviour
in interface ControlConfigIF
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface ControlConfigIF
getModel
public java.lang.String getModel()
- Specified by:
getModel
in interface ControlConfigIF
getView
public java.lang.String getView()
- Specified by:
getView
in interface ControlConfigIF
getSkin
public java.lang.String getSkin()
- Specified by:
getSkin
in interface ControlConfigIF
Copyright © 2000-2012 Ontopia.