Parsing Engine

danbikel.parser
Class Subcats

java.lang.Object
  extended bydanbikel.parser.Subcats
All Implemented Interfaces:
Serializable

public class Subcats
extends Object
implements Serializable

Static factory for Subcat objects. This scheme allows the type of Subcat object to be determined at run-time. The type of subcat factory used is deteremined by the value of the property Settings.subcatFactoryClass.

See Also:
SubcatFactory, Settings.subcatFactoryClass, Subcat, Serialized Form

Method Summary
static Subcat get()
          Return a Subcat object created with its default constructor.
static Subcat get(SexpList list)
          Return a Subcat object created with its one-argument constructor, using the specified list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static Subcat get()
Return a Subcat object created with its default constructor.


get

public static Subcat get(SexpList list)
Return a Subcat object created with its one-argument constructor, using the specified list.

Parameters:
list - a list containing only Symbol objects; the behavior is undefined if list contains a SexpList object

Parsing Engine

Author: Dan Bikel.