Package com.inrupt.rdf.wrapping.commons
Class WrapperBlankNode
- java.lang.Object
-
- com.inrupt.rdf.wrapping.commons.WrapperBlankNodeOrIRI
-
- com.inrupt.rdf.wrapping.commons.WrapperBlankNode
-
- All Implemented Interfaces:
org.apache.commons.rdf.api.BlankNode
,org.apache.commons.rdf.api.BlankNodeOrIRI
,org.apache.commons.rdf.api.RDFTerm
public class WrapperBlankNode extends WrapperBlankNodeOrIRI implements org.apache.commons.rdf.api.BlankNode
A wrapper for Blank Node terms which contains methods that aid authoring wrapping classes.
-
-
Field Summary
-
Fields inherited from class com.inrupt.rdf.wrapping.commons.WrapperBlankNodeOrIRI
graph
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WrapperBlankNode(org.apache.commons.rdf.api.RDFTerm original, org.apache.commons.rdf.api.Graph graph)
Create a new subject node with a backingGraph
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
String
ntriplesString()
String
uniqueReference()
-
Methods inherited from class com.inrupt.rdf.wrapping.commons.WrapperBlankNodeOrIRI
add, add, anyOrNull, anyOrThrow, objectIterator, objects, objectsReadOnly, objectStream, overwrite, overwrite, overwriteNullable, overwriteNullable, singleOrNull, singleOrThrow
-
-
-
-
Constructor Detail
-
WrapperBlankNode
protected WrapperBlankNode(org.apache.commons.rdf.api.RDFTerm original, org.apache.commons.rdf.api.Graph graph)
Create a new subject node with a backingGraph
object.- Parameters:
original
- The subject node, must be a non-nullBlankNode
graph
- The wrapped graph, may not benull
-
-