Package net.didion.jwnl.data
Class PointerTarget
- java.lang.Object
-
- net.didion.jwnl.data.PointerTarget
-
- All Implemented Interfaces:
Serializable
public abstract class PointerTarget extends Object implements Serializable
APointerTargetis the source or target of aPointer. The target of a semanticPointerTargetis aSynset; the target of a lexicalPointerTargetis aWord.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPointerTarget()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)abstract Pointer[]getPointers()Return a list of Target's pointersPointer[]getPointers(PointerType type)Get all pointers of typetype.abstract POSgetPOS()Return this target's POSPointerTarget[]getTargets()Get all the pointer targets of this synsetPointerTarget[]getTargets(PointerType type)Get all the targets of the pointers of typetype.abstract StringtoString()
-
-
-
Method Detail
-
getPOS
public abstract POS getPOS()
Return this target's POS
-
getPointers
public abstract Pointer[] getPointers()
Return a list of Target's pointers
-
getPointers
public Pointer[] getPointers(PointerType type)
Get all pointers of typetype.
-
getTargets
public PointerTarget[] getTargets() throws JWNLException
Get all the pointer targets of this synset- Throws:
JWNLException
-
getTargets
public PointerTarget[] getTargets(PointerType type) throws JWNLException
Get all the targets of the pointers of typetype.- Throws:
JWNLException
-
-