org.extex.interpreter.max.context
Class GroupFactory
java.lang.Object
org.extex.interpreter.max.context.GroupFactory
public class GroupFactory
- extends java.lang.Object
This class provides a factory for a
Group.
Configuration
<Group class="the.package.TheClass">
</Group>
- Version:
- $Revision: 4770 $
- Author:
- Gerd Neugebauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupFactory
public GroupFactory(Configuration config)
throws ConfigurationMissingAttributeException,
ConfigurationInstantiationException,
ConfigurationClassNotFoundException
- Creates a new object.
- Parameters:
config - the configuration for this factory
- Throws:
ConfigurationMissingAttributeException - in case of an error in the
configuration
ConfigurationInstantiationException - in case of an error in the
configuration
ConfigurationClassNotFoundException - in case of an error in the
configuration
newInstance
public Group newInstance(Group next,
Locator locator,
Token start,
GroupType type)
throws ConfigurationInstantiationException
- Get a instance of a
Group.
- Parameters:
next - the next grouplocator - the locator for the start of the groupstart - the token which started the grouptype - the group type
- Returns:
- a new instance for the interface Group
- Throws:
ConfigurationInstantiationException - in case of an error in the
configuration.