de.dante.extex.interpreter.context.impl
Class GroupFactory

java.lang.Object
  extended byde.dante.extex.interpreter.context.impl.GroupFactory

public class GroupFactory
extends java.lang.Object

This class provides a factory for a Group.

  <Group class="the.package.TheClass">
  </Group>
 

Version:
$Revision: 1.14 $
Author:
Gerd Neugebauer

Constructor Summary
GroupFactory(Configuration config)
          Creates a new object.
 
Method Summary
 Group newInstance(Group next, Locator locator, Token start, GroupType type)
          Get a instance of a Group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupFactory

public GroupFactory(Configuration config)
             throws ConfigurationException
Creates a new object.

Parameters:
config - the configuration for this factory
Throws:
ConfigurationException - in case of an error in the configuration.
Method Detail

newInstance

public Group newInstance(Group next,
                         Locator locator,
                         Token start,
                         GroupType type)
                  throws ConfigurationException
Get a instance of a Group.

Parameters:
next - the next group
locator - the locator for the start of the group
start - the token which started the group
type - the group type
Returns:
a new instance for the interface Group
Throws:
ConfigurationException - in case of an error in the configuration.