public abstract class AbstractBlankNodeImpl extends ResourceImpl implements BlankNode
Constructor and Description |
---|
AbstractBlankNodeImpl(Object underlyingBlankNode)
This method should only be called by RDF2Go implmentations
|
Modifier and Type | Method and Description |
---|---|
BlankNode |
asBlankNode()
A convenience method for a cast to
org.ontoware.rdf2go.model.node.BlankNode
|
URI |
asURI()
A convenience method for a cast to org.ontoware.rdf2go.model.node.URI
|
int |
compareTo(Node other) |
boolean |
equals(Object other) |
abstract String |
getInternalID() |
Object |
getUnderlyingBlankNode()
This method should only be called by RDF2Go implmentations
|
int |
hashCode() |
String |
toSPARQL()
A convenience function to create SPARQL queries from nodes
|
String |
toString() |
asBoolean, asDatatypeLiteral, asDate, asInt, asLanguageTagLiteral, asLiteral, asResource, asString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResource
public AbstractBlankNodeImpl(Object underlyingBlankNode)
public Object getUnderlyingBlankNode()
public boolean equals(Object other)
equals
in class ResourceImpl
public URI asURI() throws ClassCastException
Node
asURI
in interface Node
ClassCastException
- if the node is not a URIpublic BlankNode asBlankNode() throws ClassCastException
Node
asBlankNode
in interface Node
ClassCastException
- if the node is not a BlankNodepublic int hashCode()
hashCode
in class ResourceImpl
public int compareTo(Node other)
compareTo
in interface Comparable<Node>
public String toSPARQL() throws UnsupportedOperationException
Node
toSPARQL
in interface Node
UnsupportedOperationException
public abstract String getInternalID()
getInternalID
in interface BlankNode
Copyright © 2005–2018 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.