public class Variable extends Object implements ResourceOrVariable, UriOrVariable, NodeOrVariable, Serializable
| Modifier and Type | Method and Description |
|---|---|
BlankNode |
asBlankNode() |
DatatypeLiteral |
asDatatypeLiteral() |
LanguageTagLiteral |
asLanguageTagLiteral() |
Literal |
asLiteral() |
Resource |
asResource() |
URI |
asURI() |
int |
compareTo(Node other) |
boolean |
equals(Object other)
There is only one Variable, so it's equals to itself.
|
int |
hashCode() |
String |
toSPARQL() |
String |
toString() |
public static final Variable ANY
public Resource asResource() throws ClassCastException
ClassCastExceptionpublic Literal asLiteral() throws ClassCastException
ClassCastExceptionpublic DatatypeLiteral asDatatypeLiteral() throws ClassCastException
ClassCastExceptionpublic LanguageTagLiteral asLanguageTagLiteral() throws ClassCastException
ClassCastExceptionpublic URI asURI() throws ClassCastException
ClassCastExceptionpublic BlankNode asBlankNode() throws ClassCastException
ClassCastExceptionpublic boolean equals(Object other)
public int compareTo(Node other)
public String toSPARQL()
Copyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.