|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.nav2.impl.basic.BrokenNavigatorConfiguration
public class BrokenNavigatorConfiguration
INTERNAL: Created when there are XML parse errors in the configuration file so that we can report these errors in a proper way.
Field Summary |
---|
Constructor Summary | |
---|---|
BrokenNavigatorConfiguration(java.lang.String errormsg)
|
Method Summary | |
---|---|
void |
addAutoloadTopicMap(java.lang.String topicmapId)
|
void |
addClass(java.lang.String shortcut,
java.lang.String fullClassName)
|
void |
addModel(java.lang.String name,
java.lang.String title,
boolean isDefault)
|
void |
addPlugin(PluginIF aPlugin)
Add a plugin to list of known plugins. |
void |
addProperty(java.lang.String name,
java.lang.String value)
|
void |
addSkin(java.lang.String name,
java.lang.String title,
boolean isDefault)
|
void |
addView(java.lang.String name,
java.lang.String title,
boolean isDefault)
|
java.util.Collection |
getAutoloadTopicMaps()
Get Set of Topicmaps which are supposed to be autoloaded by application as a Collection
of TopicMap ID Strings (used by TopicMapRegistry). |
java.lang.String |
getClass(java.lang.String shortcut)
Get full-qualified java classname for the specified shortcut name, which can be used by the some tags as attribute value. |
java.util.Map |
getClassmap()
Get Java-Classname Mapping as a Map containing key (=shortcut) - value (=full class name) pairs. |
java.lang.String |
getDefaultModel()
Retrieve the name of the application default model. |
java.lang.String |
getDefaultSkin()
Retrieve the name of the application default skin. |
java.lang.String |
getDefaultView()
Retrieve the name of the application default view. |
java.util.Collection |
getModels()
Get all available models. |
MVSConfig |
getMVSConfig()
get storage object for Model/View/Skin settings. |
java.util.Collection |
getOrderedPlugins()
Get all plugins independent of their state in alphabetical order. |
PluginIF |
getPlugin(java.lang.String id)
Returns plugin object for specified identifier. |
java.util.List |
getPluginGroups()
Return a list of all available plugin groups, that is achieved by looping over all existing plugins and gather all distinct groups.. |
java.util.Collection |
getPlugins()
Return all plugin objects stored whatever their state (activated, deactivated) is. |
java.util.Collection |
getPlugins(java.lang.String groupId)
Return plugin objects stored whatever their state (activated, deactivated) is that match the specified groupId . |
java.util.Map |
getProperties()
Get all Configuration Properties as a Map containing key (=property-name) - value pairs. |
java.lang.String |
getProperty(java.lang.String name)
Get Property value as String for specified name. |
int |
getProperty(java.lang.String name,
int defaultValue)
INTERNAL: Get Property value as int for specified name. |
java.lang.String |
getProperty(java.lang.String name,
java.lang.String defaultValue)
Get Property value as String for specified name. |
java.util.Collection |
getSkins()
Get all available skins. |
java.util.Collection |
getViews()
Get all available views. |
boolean |
isAutoloadAllTopicMaps()
Returns true if all available topicmaps should be autoloaded at startup time. |
boolean |
isAutoloadTopicMap(java.lang.String topicmapId)
Returns true if specified TopicMap ID (used by TopicMapRegistry) should be autoloaded at startup or can be loaded afterwards by request otherwise false. |
void |
setAutoloads(java.util.Collection autoloads)
|
void |
setClassmap(java.util.Map classmap)
|
void |
setMVSConfig(MVSConfig mvsConfig)
|
void |
setProperties(java.util.Map properties)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BrokenNavigatorConfiguration(java.lang.String errormsg)
Method Detail |
---|
public void addProperty(java.lang.String name, java.lang.String value)
public java.lang.String getProperty(java.lang.String name)
NavigatorConfigurationIF
getProperty
in interface NavigatorConfigurationIF
public java.lang.String getProperty(java.lang.String name, java.lang.String defaultValue)
NavigatorConfigurationIF
defaultValue
.
getProperty
in interface NavigatorConfigurationIF
public int getProperty(java.lang.String name, int defaultValue)
NavigatorConfigurationIF
defaultValue
.
getProperty
in interface NavigatorConfigurationIF
public java.util.Map getProperties()
NavigatorConfigurationIF
getProperties
in interface NavigatorConfigurationIF
public void setProperties(java.util.Map properties)
public void addClass(java.lang.String shortcut, java.lang.String fullClassName)
public java.lang.String getClass(java.lang.String shortcut)
NavigatorConfigurationIF
getClass
in interface NavigatorConfigurationIF
public java.util.Map getClassmap()
NavigatorConfigurationIF
getClassmap
in interface NavigatorConfigurationIF
public void setClassmap(java.util.Map classmap)
public void addAutoloadTopicMap(java.lang.String topicmapId)
public boolean isAutoloadTopicMap(java.lang.String topicmapId)
NavigatorConfigurationIF
isAutoloadTopicMap
in interface NavigatorConfigurationIF
TopicMapRepositoryIF
public boolean isAutoloadAllTopicMaps()
NavigatorConfigurationIF
isAutoloadAllTopicMaps
in interface NavigatorConfigurationIF
public java.util.Collection getAutoloadTopicMaps()
NavigatorConfigurationIF
Collection
of TopicMap ID Strings (used by TopicMapRegistry).
getAutoloadTopicMaps
in interface NavigatorConfigurationIF
public void setAutoloads(java.util.Collection autoloads)
public MVSConfig getMVSConfig()
NavigatorConfigurationIF
getMVSConfig
in interface NavigatorConfigurationIF
public void setMVSConfig(MVSConfig mvsConfig)
public void addModel(java.lang.String name, java.lang.String title, boolean isDefault)
public java.util.Collection getModels()
NavigatorConfigurationIF
getModels
in interface NavigatorConfigurationIF
public java.lang.String getDefaultModel()
NavigatorConfigurationIF
getDefaultModel
in interface NavigatorConfigurationIF
public void addView(java.lang.String name, java.lang.String title, boolean isDefault)
public java.util.Collection getViews()
NavigatorConfigurationIF
getViews
in interface NavigatorConfigurationIF
public java.lang.String getDefaultView()
NavigatorConfigurationIF
getDefaultView
in interface NavigatorConfigurationIF
public void addSkin(java.lang.String name, java.lang.String title, boolean isDefault)
public java.util.Collection getSkins()
NavigatorConfigurationIF
getSkins
in interface NavigatorConfigurationIF
public java.lang.String getDefaultSkin()
NavigatorConfigurationIF
getDefaultSkin
in interface NavigatorConfigurationIF
public void addPlugin(PluginIF aPlugin)
NavigatorConfigurationIF
addPlugin
in interface NavigatorConfigurationIF
public PluginIF getPlugin(java.lang.String id)
NavigatorConfigurationIF
getPlugin
in interface NavigatorConfigurationIF
public java.util.Collection getPlugins(java.lang.String groupId)
NavigatorConfigurationIF
groupId
.
getPlugins
in interface NavigatorConfigurationIF
public java.util.Collection getPlugins()
NavigatorConfigurationIF
getPlugins
in interface NavigatorConfigurationIF
public java.util.Collection getOrderedPlugins()
NavigatorConfigurationIF
getOrderedPlugins
in interface NavigatorConfigurationIF
public java.util.List getPluginGroups()
NavigatorConfigurationIF
getPluginGroups
in interface NavigatorConfigurationIF
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |