it.uniroma2.art.owlart.model.impl
Class ARTBNodeEmptyImpl

java.lang.Object
  extended by it.uniroma2.art.owlart.model.impl.ARTResourceEmptyImpl
      extended by 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

Constructor Summary
ARTBNodeEmptyImpl(java.lang.String content)
           
 
Method Summary
 ARTBNode asBNode()
           
 ARTLiteral asLiteral()
           
 ARTResource asResource()
           
 ARTURIResource asURIResource()
           
 boolean equals(java.lang.Object o)
          Compares a URI object to another object.
 java.lang.String getID()
          a runtime reference identifier for retrieving the BNode
 boolean isBlank()
          Answer true iff this STNode is an anonynous resource.
 boolean isURIResource()
          Answer true iff this STNode is an named resource.
 java.lang.String toString()
           
 
Methods inherited from class it.uniroma2.art.owlart.model.impl.ARTResourceEmptyImpl
hashCode, isLiteral, isResource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.uniroma2.art.owlart.model.ARTBNode
hashCode
 
Methods inherited from interface it.uniroma2.art.owlart.model.ARTNode
isLiteral, isResource
 

Constructor Detail

ARTBNodeEmptyImpl

public ARTBNodeEmptyImpl(java.lang.String content)
Method Detail

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.