edu.columbia.surge
Interface AP

All Known Implementing Classes:
APH

public abstract interface AP
extends FD

The AP category for a FD. This is the adjective phrase and can be used anywhere to describe an object or an action. Methods are provided to set the head of the AP either in the form of String or FD. Factory methods are also provided for easier constructing purpose. User should either use the setLex or the sethead method to set the object of the AP. It will not make sense if user uses both methods for the same AP FD.

See Also:
APFactory

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 void setHead(FD head)
          A method to set the headw of the AP.
 void setLex(java.lang.String lex)
          A method to set the lexical entry of the AP
 
Methods inherited from interface edu.columbia.surge.FD
checkPath, checkPath, getPath, getPath, putPath, putPath, putPathOverride, putPathOverride, toString, toXML
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

setLex

public void setLex(java.lang.String lex)
A method to set the lexical entry of the AP
Parameters:
lex - the lexical entry of the AP

setHead

public void setHead(FD head)
A method to set the headw of the AP. This is used when the head cannot be represented by a single word. Otherwise, use setLex() instead.
Parameters:
head - a FD representation of the head