public abstract class PointerTarget extends Object implements 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 | Constructor and Description |
---|---|
protected |
PointerTarget() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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 String |
toString() |
public abstract POS getPOS()
public abstract Pointer[] getPointers()
public Pointer[] getPointers(PointerType type)
type
.public PointerTarget[] getTargets() throws JWNLException
JWNLException
public PointerTarget[] getTargets(PointerType type) throws JWNLException
type
.JWNLException
Copyright © 2022. All rights reserved.