org.jrdf.writer
Interface BlankNodeRegistry

All Known Implementing Classes:
BlankNodeRegistryImpl

public interface BlankNodeRegistry

A simple interface for turning blank nodes into their String representation. The oppose of PaserBlankNodeFactory.

Version:
$Id: BlankNodeRegistry.java 1086 2007-01-27 03:58:01Z newmana $
Author:
Andrew Newman, TurnerRX

Method Summary
 String getNodeId(BlankNode node)
          If the node has already been registered, it's node Id is returned, otherwise it is registered and the new node Id is returned.
 void reset()
          Reset the associations between blank nodes and node ids.
 

Method Detail

getNodeId

String getNodeId(BlankNode node)
If the node has already been registered, it's node Id is returned, otherwise it is registered and the new node Id is returned.

Parameters:
node - BlankNode
Returns:
String node ID

reset

void reset()
Reset the associations between blank nodes and node ids.