|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.extjwnl.data.PointerTarget
public abstract class PointerTarget
A PointerTarget
is the source or target of a Pointer
.
The target of a semantic PointerTarget
is a Synset
;
the target of a lexical PointerTarget
is a Word
.
Field Summary | |
---|---|
protected Dictionary |
dictionary
|
Constructor Summary | |
---|---|
protected |
PointerTarget(Dictionary dictionary)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Dictionary |
getDictionary()
Returns the dictionary this object belongs to. |
abstract int |
getIndex()
|
abstract List<Pointer> |
getPointers()
Returns a list of Target's pointers. |
List<Pointer> |
getPointers(PointerType type)
Returns all pointers of type type. |
abstract POS |
getPOS()
|
abstract Synset |
getSynset()
|
List<PointerTarget> |
getTargets()
Returns all the pointer targets of this synset. |
List<PointerTarget> |
getTargets(PointerType type)
Returns all the targets of the pointers of type type. |
void |
setDictionary(Dictionary dictionary)
Sets the dictionary this object belongs to. |
abstract String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient Dictionary dictionary
Constructor Detail |
---|
protected PointerTarget(Dictionary dictionary)
Method Detail |
---|
public abstract POS getPOS()
public abstract Synset getSynset()
public abstract int getIndex()
public abstract List<Pointer> getPointers()
public abstract String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public List<Pointer> getPointers(PointerType type)
type
- pointer type
public List<PointerTarget> getTargets()
public List<PointerTarget> getTargets(PointerType type)
type
- pointer type
public Dictionary getDictionary()
Owned
getDictionary
in interface Owned
public void setDictionary(Dictionary dictionary) throws JWNLException
Owned
setDictionary
in interface Owned
dictionary
- the dictionary this object belongs to
JWNLException
- JWNLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |