Parsing Engine

danbikel.parser
Class BrokenSubcatBagFactory

java.lang.Object
  extended bydanbikel.parser.BrokenSubcatBagFactory
All Implemented Interfaces:
Serializable, SubcatFactory

public class BrokenSubcatBagFactory
extends Object
implements SubcatFactory

A factory for creating BrokenSubcatBag objects.

See Also:
BrokenSubcatBag, Subcats, Settings.subcatFactoryClass, Serialized Form

Constructor Summary
BrokenSubcatBagFactory()
          Constructs a new SubcatBagFactory.
 
Method Summary
 Subcat get()
          Returns an empty SubcatBag.
 Subcat get(SexpList list)
          Returns a SubcatBag initialized with the requirements contained in the specified list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokenSubcatBagFactory

public BrokenSubcatBagFactory()
Constructs a new SubcatBagFactory.

Method Detail

get

public Subcat get()
Returns an empty SubcatBag.

Specified by:
get in interface SubcatFactory

get

public Subcat get(SexpList list)
Returns a SubcatBag initialized with the requirements contained in the specified list.

Specified by:
get in interface SubcatFactory
Parameters:
list - a list of Symbol objects to be added as requirements to a new SubcatBag instance

Parsing Engine

Author: Dan Bikel.