/[cashew-s-editor]/cashews/src/nongnu/cashews/rdf/RDFURI.java
ViewVC logotype

Diff of /cashews/src/nongnu/cashews/rdf/RDFURI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by gnu_andrew, Mon Apr 4 16:00:19 2005 UTC revision 1.6 by gnu_andrew, Sun Apr 17 18:35:32 2005 UTC
# Line 33  import java.net.URISyntaxException; Line 33  import java.net.URISyntaxException;
33   * @see java.net.URI   * @see java.net.URI
34   */   */
35  public class RDFURI  public class RDFURI
36    implements Subject, Predicate, RDFObject    extends Node
37      implements Predicate
38  {  {
39    
40    /**    /**
# Line 61  public class RDFURI Line 62  public class RDFURI
62     */     */
63    public String toString()    public String toString()
64    {    {
65      return getClass().getName() +      String superToString = super.toString();
66        "[uri = " +      return superToString.substring(0, superToString.length() - 1) +
67          ", uri = " +
68        uri +        uri +
69        "]";        "]";
70    }    }
# Line 91  public class RDFURI Line 93  public class RDFURI
93     */     */
94    public RDFURI clone()    public RDFURI clone()
95    {    {
96      try      Object clonedObject = super.clone();
97        {      RDFURI clone = (RDFURI) clonedObject;
98          Object clonedObject = super.clone();      clone.setURI(getURI());
99          RDFURI clone = (RDFURI) clonedObject;      return clone;
         clone.setURI(getURI());  
         return clone;  
       }  
     catch (CloneNotSupportedException e)  
       {  
         throw new IllegalStateException("Unexpected exception: " + e, e);  
       }  
100    }    }
101    
102    /**    /**

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26