edu.wpi.cs.dsrg.xmldb.xat.component.operatorfactory
Class OperatorFactory

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.component.operatorfactory.OperatorFactory
Direct Known Subclasses:
PersistentOperatorFactory, StreamOperatorFactory

public abstract class OperatorFactory
extends java.lang.Object

Insert the type's description here.


Field Summary
static java.lang.String factoryID
           
 
Constructor Summary
protected OperatorFactory()
          OperatorFactory constructor comment.
 
Method Summary
static OperatorFactory newInstance()
           Return the correct factory as specified by a System parameter called "edu.wpi.cs.dsrg.xmldb.xat.component.operatorfactory" The property name can be accessed through OperatorFactory.factoryID if no property is set then an exception is thrown and tree generation cannot continue
abstract  OperatorBuilder newOperatorBuilder()
          Creates a new instance of OperatorBuilder that will be used to generate operators The various subclasses of this class will return different OperatorBuilders based on the subclass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factoryID

public static final java.lang.String factoryID
Constructor Detail

OperatorFactory

protected OperatorFactory()
OperatorFactory constructor comment.
Method Detail

newInstance

public static OperatorFactory newInstance()
                                   throws FactoryException
 Return the correct factory as specified by a System parameter called
 "edu.wpi.cs.dsrg.xmldb.xat.component.operatorfactory"
 The property name can be accessed through OperatorFactory.factoryID 
 if no property is set then an exception is thrown and tree generation cannot continue
 
Returns:
OperatorFactory a handle to an OperatorFactory that can be used to create an OperatorBuilder

newOperatorBuilder

public abstract OperatorBuilder newOperatorBuilder()
Creates a new instance of OperatorBuilder that will be used to generate operators The various subclasses of this class will return different OperatorBuilders based on the subclass
Returns:
edu.wpi.cs.dsrg.xmldb.xat.component.operatorfactory.OperatorBuilder