org.daml.rdf.jena.common
Class SourceImpl

java.lang.Object
  |
  +--org.daml.rdf.jena.common.SourceImpl
All Implemented Interfaces:
Source

public class SourceImpl
extends java.lang.Object
implements Source

An implementation of a Source class.


Field Summary
protected  java.lang.String uri
          The URI of the source.
 
Constructor Summary
SourceImpl(java.lang.String uri)
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if the objects are equal.
 java.lang.String getURI()
          Returns the URI string of this source.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uri

protected java.lang.String uri
The URI of the source.

Constructor Detail

SourceImpl

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

getURI

public java.lang.String getURI()
Description copied from interface: Source
Returns the URI string of this source.

Specified by:
getURI in interface Source

equals

public boolean equals(java.lang.Object object)
Description copied from interface: Source
Returns true if the objects are equal.

Specified by:
equals in interface Source
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object