public abstract class PointerTarget
extends java.lang.Object
implements java.io.Serializable
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.| Modifier and Type | Field and Description |
|---|---|
private PointerTarget[] |
_pointerTargets |
(package private) static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
PointerTarget() |
| Modifier and Type | Method and Description |
|---|---|
private PointerTarget[] |
collectTargets(Pointer[] pointers)
Get an array of all the targets of
pointers. |
boolean |
equals(java.lang.Object obj) |
abstract Pointer[] |
getPointers()
Return a list of Target's pointers
|
Pointer[] |
getPointers(PointerType type)
Get all pointers of type
type. |
abstract POS |
getPOS()
Return this target's POS
|
PointerTarget[] |
getTargets()
Get all the pointer targets of this synset
|
PointerTarget[] |
getTargets(PointerType type)
Get all the targets of the pointers of type
type. |
abstract java.lang.String |
toString() |
static final long serialVersionUID
private transient PointerTarget[] _pointerTargets
public abstract POS getPOS()
public abstract Pointer[] getPointers()
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Pointer[] getPointers(PointerType type)
type.public PointerTarget[] getTargets() throws JWNLException
JWNLExceptionpublic PointerTarget[] getTargets(PointerType type) throws JWNLException
type.JWNLExceptionprivate PointerTarget[] collectTargets(Pointer[] pointers) throws JWNLException
pointers.JWNLException