public class Constant extends Term
| Modifier and Type | Method and Description |
|---|---|
static Constant |
create(String lexicalForm,
String datatypeURI) |
static Constant |
createAnonymous(String id) |
String |
getDatatypeURI() |
Object |
getDataValue() |
String |
getLexicalForm() |
boolean |
isAnonymous() |
String |
toString() |
String |
toString(Prefixes prefixes) |
public String getLexicalForm()
public String getDatatypeURI()
public Object getDataValue()
public boolean isAnonymous()
public static Constant create(String lexicalForm, String datatypeURI) throws MalformedLiteralException
lexicalForm - lexicalFormdatatypeURI - datatypeURIMalformedLiteralException - if literal is malformedCopyright © 2017. All Rights Reserved.