|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.framework.AbstractFactory
org.extex.interpreter.context.ContextFactory
public class ContextFactory
This class provides a factory for a
Context.
<Context class="the.package.TheClass"> </Context>
| Field Summary |
|---|
| Fields inherited from class org.extex.framework.AbstractFactory |
|---|
CLASS_ATTRIBUTE, DEFAULT_ATTRIBUTE, SELECT_ATTRIBUTE |
| Constructor Summary | |
|---|---|
ContextFactory(Configuration configuration,
java.util.logging.Logger logger)
Creates a new object. |
|
| Method Summary | |
|---|---|
Context |
newInstance(java.lang.String type)
Get an instance of a context. |
| Methods inherited from class org.extex.framework.AbstractFactory |
|---|
configure, configure, createInstance, createInstance, createInstance, createInstance, createInstanceForConfiguration, createInstanceForConfiguration, createInstanceForConfiguration, enableLogging, enableLogging, getConfiguration, getLogger, getResourceFinder, reconnect, selectConfiguration, setResourceFinder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextFactory(Configuration configuration,
java.util.logging.Logger logger)
throws ConfigurationException
configuration - the configuration for this factorylogger - the logger
ConfigurationException - in case of an error in the configuration.| Method Detail |
|---|
public Context newInstance(java.lang.String type)
throws ConfigurationException
null or the empty string then the default
from the configuration is used.
type - the type to use
ConfigurationException - in case of an configuration error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||