Parsing Engine

danbikel.parser
Class SubcatBagFactory

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

public class SubcatBagFactory
extends Object
implements SubcatFactory

A factory for creating SubcatBag objects.

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

Constructor Summary
SubcatBagFactory()
          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

SubcatBagFactory

public SubcatBagFactory()
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.