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

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

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

revision 1.2 by gnu_andrew, Mon Mar 28 19:29:21 2005 UTC revision 1.3 by gnu_andrew, Sun Apr 3 17:15:39 2005 UTC
# Line 58  public class Literal Line 58  public class Literal
58     */     */
59    private Type type;    private Type type;
60    
61      /**
62       * Constructs a <code>Literal</code> using the specified lexical form.
63       *
64       * @param lexicalForm the lexical form of this literal.
65       */
66      public Literal(String lexicalForm)
67      {
68        this.lexicalForm = lexicalForm;
69      }
70    
71      /**
72       * Returns a textual representation of the literal.
73       *
74       * @return a textual representation.
75       */
76      public String toString()
77      {
78        return getClass().getName() +
79          "[lexicalForm = " +
80          lexicalForm +
81          ", language = " +
82          language +
83          ", type = " +
84          type +
85          "]";
86      }
87    
88  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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