|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.parser.bnodefactory.ParserBlankNodeFactoryImpl
public class ParserBlankNodeFactoryImpl
| Constructor Summary | |
|---|---|
ParserBlankNodeFactoryImpl(MapFactory newCreator,
GraphElementFactory newValueFactory)
|
|
| Method Summary | |
|---|---|
void |
clear()
Resets this ParserBlankNodeFactory. |
void |
close()
Close any resource used by the blank node factory. |
BlankNode |
createBlankNode()
Creates a BlankNode that is unique relative to this instance of the ParserBlankNodeFactory. |
BlankNode |
createBlankNode(String nodeID)
Creates a BlankNode that is only distinguished by the nodeID value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParserBlankNodeFactoryImpl(MapFactory newCreator,
GraphElementFactory newValueFactory)
| Method Detail |
|---|
public BlankNode createBlankNode()
throws GraphElementFactoryException
ParserBlankNodeFactory
createBlankNode in interface ParserBlankNodeFactoryGraphElementFactoryException - if there is a failure to create the
blank node.
public BlankNode createBlankNode(String nodeID)
throws GraphElementFactoryException
ParserBlankNodeFactory
createBlankNode in interface ParserBlankNodeFactorynodeID - the nodeID of the blank node - consistently returns the same
blank node if it exists.
GraphElementFactoryException - if there is a failure to create the
blank node.public void clear()
ParserBlankNodeFactoryParserBlankNodeFactory.createBlankNode() may return BlankNodes that compare equal to
BlankNodes that were created before the call to clear().
clear in interface ParserBlankNodeFactorypublic void close()
ParserBlankNodeFactory
close in interface ParserBlankNodeFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||