|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.mit.jwi.item.ExceptionEntryProxy edu.mit.jwi.item.ExceptionEntry
public class ExceptionEntry
Default implementation of IExceptionEntry
Constructor Summary | |
---|---|
ExceptionEntry(IExceptionEntryProxy proxy,
POS pos)
Creates a new exception entry for the specified part of speech using the information in the specified exception proxy object. |
|
ExceptionEntry(java.lang.String surfaceForm,
POS pos,
java.lang.String... rootForms)
Creates a new exception entry for the specified part of speech using the specified surface and root forms. |
Method Summary | |
---|---|
IExceptionEntryID |
getID()
Returns the ID object for this item. |
POS |
getPOS()
Returns the associated part of speech for this object. |
java.lang.String |
toString()
|
Methods inherited from class edu.mit.jwi.item.ExceptionEntryProxy |
---|
getRootForms, getSurfaceForm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.mit.jwi.item.IExceptionEntryProxy |
---|
getRootForms, getSurfaceForm |
Constructor Detail |
---|
public ExceptionEntry(IExceptionEntryProxy proxy, POS pos)
proxy
- the proxy containing the information for the entrypos
- the part of speech for the entry
java.lang.NullPointerException
- if either argument is null
public ExceptionEntry(java.lang.String surfaceForm, POS pos, java.lang.String... rootForms)
surfaceForm
- the surface form for the entrypos
- the part of speech for the entryrootForms
- the root forms for the entry
java.lang.NullPointerException
- if either argument is null
Method Detail |
---|
public POS getPOS()
IHasPOS
null
.
getPOS
in interface IHasPOS
null
if none.public IExceptionEntryID getID()
IItem
null
.
getID
in interface IItem<IExceptionEntryID>
null
ID for this itempublic java.lang.String toString()
toString
in class ExceptionEntryProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |