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, asStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResourcepublic AbstractBlankNodeImpl(Object underlyingBlankNode)
public Object getUnderlyingBlankNode()
public boolean equals(Object other)
equals in class ResourceImplpublic URI asURI() throws ClassCastException
NodeasURI in interface NodeClassCastException - if the node is not a URIpublic BlankNode asBlankNode() throws ClassCastException
NodeasBlankNode in interface NodeClassCastException - if the node is not a BlankNodepublic int hashCode()
hashCode in class ResourceImplpublic int compareTo(Node other)
compareTo in interface Comparable<Node>public String toSPARQL() throws UnsupportedOperationException
NodetoSPARQL in interface NodeUnsupportedOperationExceptionpublic abstract String getInternalID()
getInternalID in interface BlankNodeCopyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.