org.jrdf.graph
Class AnyNode
java.lang.Object
org.jrdf.graph.AnyNode
- All Implemented Interfaces:
- Serializable, Node, ObjectNode, TypedNodeVisitable
public final class AnyNode
- extends Object
- implements ObjectNode, Serializable
A node which represents any node (subject, predicate or object) - unconstrained.
Shouldn't be needed unless the positional information (subject, predicate, or object) is lost or you want an
object to represent all three positions in one object. The former, should probably be avoided if possible.
- Version:
- $Id: AnyNode.java 2894 2009-01-27 21:25:13Z newmana $
- Author:
- Andrew Newman, Tom Adams
- See Also:
- Serialized Form
|
Field Summary |
static AnyNode |
ANY_NODE
The any node constant - represents an unconstrained object node. |
ANY_NODE
public static final AnyNode ANY_NODE
- The any node constant - represents an unconstrained object node.
toString
public String toString()
- Overrides:
toString in class Object
accept
public void accept(TypedNodeVisitor visitor)
- Description copied from interface:
TypedNodeVisitable
- Accept a call from a TypedNodeVisitor.
- Specified by:
accept in interface TypedNodeVisitable
- Parameters:
visitor - the object doing the visiting.