|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 Nodelabel - the label of this Nodepublic java.lang.String getLabel()
Node
getLabel in interface Nodepublic void accept(NodeVisitor visitor)
NodeNodeVisitor
accept in interface Nodevisitor - the NodeVisitor visiting this class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||