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
ClassCastException
public Literal asLiteral() throws ClassCastException
ClassCastException
public DatatypeLiteral asDatatypeLiteral() throws ClassCastException
ClassCastException
public LanguageTagLiteral asLanguageTagLiteral() throws ClassCastException
ClassCastException
public URI asURI() throws ClassCastException
ClassCastException
public BlankNode asBlankNode() throws ClassCastException
ClassCastException
public boolean equals(Object other)
public int compareTo(Node other)
public String toSPARQL()
Copyright © 2005–2017 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.