Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / src / org / w3c / jigsaw / frames / LanguageAttribute.java
diff --git a/JMCR-Stable/real-world application/jigsaw/src/org/w3c/jigsaw/frames/LanguageAttribute.java b/JMCR-Stable/real-world application/jigsaw/src/org/w3c/jigsaw/frames/LanguageAttribute.java
new file mode 100644 (file)
index 0000000..6a4c61e
--- /dev/null
@@ -0,0 +1,22 @@
+// LanguageAttribute.java\r
+// $Id: LanguageAttribute.java,v 1.1 2010/06/15 12:24:16 smhuang Exp $\r
+// (c) COPYRIGHT MIT and INRIA, 1996.\r
+// Please first read the full copyright statement in file COPYRIGHT.html\r
+\r
+package org.w3c.jigsaw.frames ;\r
+\r
+import org.w3c.tools.resources.Attribute;\r
+import org.w3c.tools.resources.StringAttribute;\r
+\r
+public class LanguageAttribute extends StringAttribute {\r
+\r
+    public LanguageAttribute(String name, String def, int flags) {\r
+       super(name, def, flags) ;\r
+       this.type = "java.lang.String".intern();\r
+    }\r
+\r
+    public LanguageAttribute() {\r
+       super() ;\r
+    }\r
+\r
+}\r