org.w3c.rdf.implementation.model
Class ResourceImpl

java.lang.Object
  |
  +--org.w3c.rdf.implementation.model.RDFNodeImpl
        |
        +--org.w3c.rdf.implementation.model.ResourceImpl
All Implemented Interfaces:
Digestable, RDFNode, Resource

public class ResourceImpl
extends RDFNodeImpl
implements Resource


Fields inherited from class org.w3c.rdf.implementation.model.RDFNodeImpl
digest, label
 
Constructor Summary
protected ResourceImpl()
           
  ResourceImpl(java.lang.String uri)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 java.lang.String getURI()
          Returns the URI of the resource.
 
Methods inherited from class org.w3c.rdf.implementation.model.RDFNodeImpl
getDigest, getLabel, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.rdf.model.RDFNode
getLabel
 

Constructor Detail

ResourceImpl

protected ResourceImpl()

ResourceImpl

public ResourceImpl(java.lang.String uri)
Method Detail

getURI

public java.lang.String getURI()
Description copied from interface: Resource
Returns the URI of the resource. Triples and models must implement this method in a standard way.
Specified by:
getURI in interface Resource
Following copied from interface: org.w3c.rdf.model.Resource
Returns:
the URI of the resource
See Also:
Statement, Model

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class RDFNodeImpl