org.jrdf.query.relation.type
Interface NodeType

All Superinterfaces:
Serializable
All Known Subinterfaces:
PositionalNodeType, ValueNodeType
All Known Implementing Classes:
BlankNodeType, LiteralNodeType, ObjectNodeType, PredicateNodeType, PredicateObjectNodeType, ResourceNodeType, SubjectNodeType, SubjectObjectNodeType, SubjectPredicateNodeType, SubjectPredicateObjectNodeType, URIReferenceNodeType

public interface NodeType
extends Serializable

Node types - data types belong to RDF nodes.

Version:
$Revision: 1842 $
Author:
Andrew Newman

Method Summary
 void accept(NodeTypeVisitor visitor)
          Accept a call from a NodeTypeVisitor.
 Set<? extends NodeType> composedOf()
          Returns the sub-types of a composite type.
 String getName()
          Returns the name of the type.
 

Method Detail

getName

String getName()
Returns the name of the type.

Returns:
the name of the type.

composedOf

Set<? extends NodeType> composedOf()
Returns the sub-types of a composite type.

Returns:
the sub-types of a composite type.

accept

void accept(NodeTypeVisitor visitor)
Accept a call from a NodeTypeVisitor.

Parameters:
visitor - the object doing the visiting.