org.tm4j.panckoucke.context .PanckouckeContext

Description

PanckouckeContext is a collection of important resources that a client of Panckoucke must deal with. A concrete instance of a PanckouckeContext is usually obtained by an implementation of a PanckouckeContextFactory. The default Implementation of the ContextFactory, that ships with the Panckoucke-lib, reads the configuration from a xml-file. One goal of the PanckouckeContext is to provide access to a set of classes which implements the main Panckoucke-Interfaces and which may safely used in conjunction with each other. The second goal is to hold and give access to a set of Renderer- and AbstractorDescriptions which are known to Panckoucke Library.

Implementations of this interface

Method Summary
void addAbstractor(java.lang.String id,org.tm4j.panckoucke.abstraction.Abstractor a)
Adds a to the list of available abstractors.
void addRenderer(java.lang.String id,org.tm4j.panckoucke.render.Renderer rd)
Adds rd to the list of available Renderers.
org.tm4j.panckoucke.abstraction.Abstractor getAbstractor(java.lang.String id)
Method getAbstractor.
java.util.Set getAbstractorIDs()
Returns a Set that contains al the ID-Strings of all available Abstractors.
java.util.Set getAvailableAbstractors()
Returns a Set of all available Abstractors.
java.util.Set getAvailableRenderers()
Returns a Set of all available Renderers.
org.tm4j.panckoucke.abstraction.Abstractor getDefaultAbstractor()
Returns the default abstractor
org.tm4j.panckoucke.render.Renderer getDefaultRenderer()
Returns the default renderer
org.tm4j.panckoucke.model.AMGestaltRegistry getGestaltRegistry()
org.tm4j.panckoucke.model.ModelProvider getModelProvider()
Provides Access to the Panckoucke ModelProvider
org.tm4j.panckoucke.notification.NotificationRegistry getNotificationRegistry()
org.tm4j.panckoucke.render.Renderer getRenderer(java.lang.String id)
Returns the renderer associated with the given id or null if no such Renderer exists
java.util.Set getRendererIDs()
Returns a Set that contains al the ID-Strings of all available Renderers.
org.tm4j.panckoucke.render.rep.RepresentationRegistry getRepresentationRegistry()
org.tm4j.panckoucke.store.StoreManager getStoreManager()
Provides Access to the Panckoucke StoreManager
void removeAbstractor(java.lang.String id)
Removes the abstractor with the id id from the list of available abstractors.
void removeRenderer(java.lang.String id)
Removes the Renderer with the id id from the list of available Renderers.
void setDefaultAbstractor(java.lang.String id)
Sets the Abstractor with the id id as the default abstractor or removes the current defaultAbstractor if id is null or no abstractor with the given id exists..
void setDefaultRenderer(java.lang.String id)
Sets the Renderer with the id id as the default renderer or removes the current defaultRenderer if id is null or no renderer with the given id exists..