|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.fluxion.graph.AbstractNode
public abstract class AbstractNode
An abstract implementation of Node
. This class implements all
the common getter and setter methods defined by Node
, along with
the accept()
method. It does not implement the
setRDFResource()
method, which must be specific to the concrete
implementation.
Constructor Summary | |
---|---|
AbstractNode()
|
Method Summary | |
---|---|
void |
accept(NodeVisitor visitor)
Accept a visit from a NodeVisitor |
java.lang.String |
getLabel()
An identifier that can be used to describe an individual of the set described by this Node |
void |
setLabel(java.lang.String label)
Set the identifier that can be used to label an individual. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractNode()
Method Detail |
---|
public void setLabel(java.lang.String label)
Node
setLabel
in interface Node
label
- the label of this Nodepublic java.lang.String getLabel()
Node
getLabel
in interface Node
public void accept(NodeVisitor visitor)
Node
NodeVisitor
accept
in interface Node
visitor
- the NodeVisitor
visiting this class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |