Parsing Engine

danbikel.parser.constraints
Class PartialLexTreeConstraintSetFactory

java.lang.Object
  extended by danbikel.parser.constraints.PartialLexTreeConstraintSetFactory
All Implemented Interfaces:
ConstraintSetFactory

public class PartialLexTreeConstraintSetFactory
extends Object
implements ConstraintSetFactory

Factory to produce PartialLexTreeConstraintSet objects.


Constructor Summary
PartialLexTreeConstraintSetFactory()
          Constructs a new factory for PartialLexTreeConstraintSet objects.
 
Method Summary
 ConstraintSet get()
          Returns a new, empty PartialLexTreeConstraintSet object.
 ConstraintSet get(Object tree)
          Returns a new PartialLexTreeConstraintSet using the specified syntactic tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialLexTreeConstraintSetFactory

public PartialLexTreeConstraintSetFactory()
Constructs a new factory for PartialLexTreeConstraintSet objects.

Method Detail

get

public ConstraintSet get()
Returns a new, empty PartialLexTreeConstraintSet object.

Specified by:
get in interface ConstraintSetFactory
Returns:
a new, empty PartialLexTreeConstraintSet object.
See Also:
PartialLexTreeConstraintSet.PartialLexTreeConstraintSet()

get

public ConstraintSet get(Object tree)
Returns a new PartialLexTreeConstraintSet using the specified syntactic tree.

Specified by:
get in interface ConstraintSetFactory
Parameters:
tree - the syntactic tree from which to construct a tree structure of PartialLexTreeConstraint objects contained in a PartialLexTreeConstraintSet
Returns:
a new PartialLexTreeConstraintSet using the specified syntactic tree.
See Also:
PartialLexTreeConstraintSet.PartialLexTreeConstraintSet(Sexp)

Parsing Engine

Author: Dan Bikel.