it.uniroma2.art.owlart.model.impl
Class ARTBNodeEmptyImpl
java.lang.Object
it.uniroma2.art.owlart.model.impl.ARTResourceEmptyImpl
it.uniroma2.art.owlart.model.impl.ARTBNodeEmptyImpl
- All Implemented Interfaces:
- ARTBNode, ARTNode, ARTResource
public class ARTBNodeEmptyImpl
- extends ARTResourceEmptyImpl
- implements ARTBNode
OWL ART API are an abstraction layer over different triple store technologies
For this reason, interface implementations for RDF nodes in OWL ART API are usually provided by the
wrappers for different triple store technologies. However, there could be times where basic implementations
of RDF nodes are required by processes which need to be independent from any triplestore technology, for
instance, when initializing the various RDF vocabularies, such as RDF
, RDFS
, OWL
,
SKOS
, SKOSXL
, which is statically done outside of any model loaded through any specific
implementation
- Author:
- Armando Stellato
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ARTBNodeEmptyImpl
public ARTBNodeEmptyImpl(java.lang.String content)
getID
public java.lang.String getID()
- Description copied from interface:
ARTBNode
- a runtime reference identifier for retrieving the BNode
- Specified by:
getID
in interface ARTBNode
- Returns:
asURIResource
public ARTURIResource asURIResource()
- Specified by:
asURIResource
in interface ARTNode
asResource
public ARTResource asResource()
- Specified by:
asResource
in interface ARTNode
asLiteral
public ARTLiteral asLiteral()
- Specified by:
asLiteral
in interface ARTNode
asBNode
public ARTBNode asBNode()
- Specified by:
asBNode
in interface ARTNode
isBlank
public boolean isBlank()
- Description copied from interface:
ARTNode
- Answer true iff this STNode is an anonynous resource.
- Specified by:
isBlank
in interface ARTNode
isURIResource
public boolean isURIResource()
- Description copied from interface:
ARTNode
- Answer true iff this STNode is an named resource.
- Specified by:
isURIResource
in interface ARTNode
equals
public boolean equals(java.lang.Object o)
- Description copied from interface:
ARTBNode
- Compares a URI object to another object.
- Specified by:
equals
in interface ARTBNode
- Specified by:
equals
in interface ARTNode
- Overrides:
equals
in class java.lang.Object
- Parameters:
o
- The object to compare this URI to.
- Returns:
- true if the other object is an instance of
URI
and their
String-representations are equal, false otherwise.
toString
public java.lang.String toString()
- Specified by:
toString
in interface ARTNode
- Overrides:
toString
in class java.lang.Object
Copyright © 2011 ART Group, University of Rome, Tor Vergata. All Rights Reserved.