|
||||||||||
| 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.InterpreterFactory
public class InterpreterFactory
This class provides a factory for
Interpreters.
The configuration and the logger are passed to the new instance if they are
present and required.
| Field Summary |
|---|
| Fields inherited from class org.extex.framework.AbstractFactory |
|---|
CLASS_ATTRIBUTE, DEFAULT_ATTRIBUTE, SELECT_ATTRIBUTE |
| Constructor Summary | |
|---|---|
InterpreterFactory(Configuration configuration,
java.util.logging.Logger logger)
Creates a new factory object. |
|
| Method Summary | |
|---|---|
Interpreter |
newInstance(java.util.Properties properties,
OutputStreamFactory outFactory)
Get a instance for the interface Interpreter. |
| 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 InterpreterFactory(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 Interpreter newInstance(java.util.Properties properties,
OutputStreamFactory outFactory)
throws ConfigurationException
Interpreter.
properties - the propertiesoutFactory - the output stream factory
ConfigurationException - in case of an error in the configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||