Package net.didion.jwnl.data
Class PointerTarget
java.lang.Object
net.didion.jwnl.data.PointerTarget
- All Implemented Interfaces:
Serializable
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.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate PointerTarget[]collectTargets(Pointer[] pointers) Get an array of all the targets ofpointers.booleanabstract Pointer[]Return a list of Target's pointersPointer[]getPointers(PointerType type) Get all pointers of typetype.abstract POSgetPOS()Return this target's POSGet all the pointer targets of this synsetgetTargets(PointerType type) Get all the targets of the pointers of typetype.abstract StringtoString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
_pointerTargets
-
-
Constructor Details
-
PointerTarget
protected PointerTarget()
-
-
Method Details
-
getPOS
Return this target's POS -
getPointers
Return a list of Target's pointers -
toString
-
equals
-
getPointers
Get all pointers of typetype. -
getTargets
Get all the pointer targets of this synset- Throws:
JWNLException
-
getTargets
Get all the targets of the pointers of typetype.- Throws:
JWNLException
-
collectTargets
Get an array of all the targets ofpointers.- Throws:
JWNLException
-