cashew-s-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cashew-s-auto] Changes to cashews/src/nongnu/cashews/rdf/Literal.java


From: Andrew John Hughes
Subject: [Cashew-s-auto] Changes to cashews/src/nongnu/cashews/rdf/Literal.java
Date: Tue, 05 Apr 2005 12:48:53 -0400

Index: cashews/src/nongnu/cashews/rdf/Literal.java
diff -u cashews/src/nongnu/cashews/rdf/Literal.java:1.4 
cashews/src/nongnu/cashews/rdf/Literal.java:1.5
--- cashews/src/nongnu/cashews/rdf/Literal.java:1.4     Mon Apr  4 00:59:33 2005
+++ cashews/src/nongnu/cashews/rdf/Literal.java Tue Apr  5 16:48:53 2005
@@ -69,6 +69,19 @@
   }
 
   /**
+   * Constructs a <code>Literal</code> using the specified lexical form
+   * and type.
+   *
+   * @param lexicalForm the lexical form of this literal.
+   * @param type the type of this literal.
+   */
+  public Literal(String lexicalForm, Type type)
+  {
+    this(lexicalForm);
+    setType(type);
+  }
+
+  /**
    * Returns a textual representation of the literal.
    *
    * @return a textual representation.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]