public class ARTURIResourceEmptyImpl extends ARTResourceEmptyImpl implements ARTURIResource
Constructor and Description |
---|
ARTURIResourceEmptyImpl(String content) |
Modifier and Type | Method and Description |
---|---|
ARTBNode |
asBNode() |
ARTLiteral |
asLiteral() |
ARTResource |
asResource() |
ARTURIResource |
asURIResource() |
boolean |
equals(Object o)
Compares a URI object to another object.
|
String |
getLocalName() |
String |
getNamespace() |
String |
getNominalValue()
depends on the nature of the node
|
String |
getURI() |
boolean |
isBlank()
Answer true iff this STNode is an anonynous 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.
|
hashCode, isLiteral, isResource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hashCode
isLiteral, isResource
public ARTURIResourceEmptyImpl(String content)
public String getLocalName()
getLocalName
in interface ARTURIResource
public String getNamespace()
getNamespace
in interface ARTURIResource
public String getURI()
getURI
in interface ARTURIResource
public String toString()
ARTNode
public boolean equals(Object o)
ARTURIResource
public ARTURIResource asURIResource()
asURIResource
in interface ARTNode
public ARTResource asResource()
asResource
in interface ARTNode
public ARTLiteral asLiteral()
public boolean isBlank()
ARTNode
public boolean isURIResource()
ARTNode
isURIResource
in interface ARTNode
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.