public class ARTLiteralEmptyImpl extends Object implements ARTLiteral
Modifier and Type | Method and Description |
---|---|
ARTBNode |
asBNode() |
ARTLiteral |
asLiteral() |
ARTResource |
asResource() |
ARTURIResource |
asURIResource() |
boolean |
equals(Object o)
Compares a literal object to another object.
|
ARTURIResource |
getDatatype()
Gets the datatype for this literal.
|
String |
getLabel()
Gets the label of this literal.
|
String |
getLanguage()
Gets the language tag for this literal, normalized to lowercase.
|
String |
getNominalValue()
depends on the nature of the node
|
boolean |
isBlank()
Answer true iff this STNode is an anonynous resource.
|
boolean |
isLiteral()
Answer true iff this STNode is a literal resource.
|
boolean |
isResource()
Answer true iff this STNode is a resource
|
boolean |
isURIResource()
Answer true iff this STNode is an named resource.
|
String |
toString()
a non-ambiguous and compact way for representing the node content, according to IRI-refs.
|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
hashCode
public ARTURIResource getDatatype()
ARTLiteral
getDatatype
in interface ARTLiteral
public String getLabel()
ARTLiteral
getLabel
in interface ARTLiteral
public String getLanguage()
ARTLiteral
getLanguage
in interface ARTLiteral
public ARTURIResource asURIResource()
asURIResource
in interface ARTNode
public ARTResource asResource()
asResource
in interface ARTNode
public ARTLiteral asLiteral()
public boolean isBlank()
ARTNode
public boolean isLiteral()
ARTNode
public boolean isResource()
ARTNode
isResource
in interface ARTNode
public boolean isURIResource()
ARTNode
isURIResource
in interface ARTNode
public boolean equals(Object o)
ARTLiteral
public String getNominalValue()
ARTNode
getNominalValue
in interface ARTNode
id
, for literals: the sole
labelCopyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.