Parsing Engine

danbikel.parser.constraints
Class UnlexTreeConstraintSetFactory

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

public class UnlexTreeConstraintSetFactory
extends Object
implements ConstraintSetFactory

Factory to produce UnlexTreeConstraintSet objects.


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

Constructor Detail

UnlexTreeConstraintSetFactory

public UnlexTreeConstraintSetFactory()
Returns a new factory for UnlexTreeConstraintSet objects.

Method Detail

get

public ConstraintSet get()
Returns an empty UnlexTreeConstraintSet object.

Specified by:
get in interface ConstraintSetFactory
Returns:
an empty UnlexTreeConstraintSet object

get

public ConstraintSet get(Object tree)
Returns an UnlexTreeConstraintSet constructed with the specified syntactic tree.

Specified by:
get in interface ConstraintSetFactory
Parameters:
tree - the syntactic tree from which to construct a set of constraints
Returns:
an UnlexTreeConstraintSet constructed with the specified syntactic tree

Parsing Engine

Author: Dan Bikel.