public abstract class ResourceImpl extends Object implements Resource
| Constructor and Description |
|---|
ResourceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asBoolean() |
DatatypeLiteral |
asDatatypeLiteral()
A convenience method for a cast to
org.ontoware.rdf2go.model.node.DatatypeLiteral
|
Date |
asDate() |
int |
asInt() |
LanguageTagLiteral |
asLanguageTagLiteral()
A convenience method for a cast to
org.ontoware.rdf2go.model.node.LanguageTagLiteral
|
Literal |
asLiteral()
A convenience method for a cast to org.ontoware.rdf2go.model.node.Literal
|
Resource |
asResource()
A convenience method for a cast to
org.ontoware.rdf2go.model.node.Resource
|
String |
asString() |
abstract boolean |
equals(Object other) |
abstract int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasBlankNode, asURI, toSPARQLcompareTopublic Resource asResource() throws ClassCastException
NodeasResource in interface NodeClassCastException - if the node is not a Resourcepublic Literal asLiteral() throws ClassCastException
NodeasLiteral in interface NodeClassCastException - if the node is not a Literalpublic DatatypeLiteral asDatatypeLiteral() throws ClassCastException
NodeasDatatypeLiteral in interface NodeClassCastException - if the node is not a DatatypeLiteralpublic LanguageTagLiteral asLanguageTagLiteral() throws ClassCastException
NodeasLanguageTagLiteral in interface NodeClassCastException - if the node is not a LanguageTagLiteralpublic String asString() throws ModelRuntimeException
ModelRuntimeExceptionpublic int asInt()
throws ModelRuntimeException
ModelRuntimeExceptionpublic boolean asBoolean()
throws ModelRuntimeException
ModelRuntimeExceptionpublic Date asDate() throws ModelRuntimeException
ModelRuntimeExceptionCopyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.