Jaxx-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- 3898 discussions
[Buix-commits] r1507 - in branches/1.5.X: . jaxx-compiler-api jaxx-compiler-swing jaxx-compiler-validator jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-swing-widget jaxx-runtime-validator jaxx-runtime-validator-swing jaxx-swing-action maven-jaxx-plugin
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
15 Jul '09
Author: sletellier
Date: 2009-07-15 15:00:13 +0200 (Wed, 15 Jul 2009)
New Revision: 1507
Modified:
branches/1.5.X/jaxx-compiler-api/pom.xml
branches/1.5.X/jaxx-compiler-swing/pom.xml
branches/1.5.X/jaxx-compiler-validator/pom.xml
branches/1.5.X/jaxx-example/pom.xml
branches/1.5.X/jaxx-runtime-api/pom.xml
branches/1.5.X/jaxx-runtime-swing-widget/pom.xml
branches/1.5.X/jaxx-runtime-swing/pom.xml
branches/1.5.X/jaxx-runtime-validator-swing/pom.xml
branches/1.5.X/jaxx-runtime-validator/pom.xml
branches/1.5.X/jaxx-swing-action/pom.xml
branches/1.5.X/maven-jaxx-plugin/pom.xml
branches/1.5.X/pom.xml
Log:
Change version to 1.5.1
Modified: branches/1.5.X/jaxx-compiler-api/pom.xml
===================================================================
--- branches/1.5.X/jaxx-compiler-api/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-compiler-api/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-compiler-swing/pom.xml
===================================================================
--- branches/1.5.X/jaxx-compiler-swing/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-compiler-swing/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-compiler-validator/pom.xml
===================================================================
--- branches/1.5.X/jaxx-compiler-validator/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-compiler-validator/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-example/pom.xml
===================================================================
--- branches/1.5.X/jaxx-example/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-example/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -286,4 +286,4 @@
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
Modified: branches/1.5.X/jaxx-runtime-api/pom.xml
===================================================================
--- branches/1.5.X/jaxx-runtime-api/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-runtime-api/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-runtime-swing/pom.xml
===================================================================
--- branches/1.5.X/jaxx-runtime-swing/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-runtime-swing/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-runtime-swing-widget/pom.xml
===================================================================
--- branches/1.5.X/jaxx-runtime-swing-widget/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-runtime-swing-widget/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -119,4 +119,4 @@
<url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/jaxx-…</url>
</scm>
-</project>
\ No newline at end of file
+</project>
Modified: branches/1.5.X/jaxx-runtime-validator/pom.xml
===================================================================
--- branches/1.5.X/jaxx-runtime-validator/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-runtime-validator/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-runtime-validator-swing/pom.xml
===================================================================
--- branches/1.5.X/jaxx-runtime-validator-swing/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-runtime-validator-swing/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/jaxx-swing-action/pom.xml
===================================================================
--- branches/1.5.X/jaxx-swing-action/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/jaxx-swing-action/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
Modified: branches/1.5.X/maven-jaxx-plugin/pom.xml
===================================================================
--- branches/1.5.X/maven-jaxx-plugin/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/maven-jaxx-plugin/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.codelutin.jaxx</groupId>
@@ -149,4 +149,4 @@
<url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/jaxx/tags/jaxx-…</url>
</scm>
-</project>
\ No newline at end of file
+</project>
Modified: branches/1.5.X/pom.xml
===================================================================
--- branches/1.5.X/pom.xml 2009-07-15 12:43:48 UTC (rev 1506)
+++ branches/1.5.X/pom.xml 2009-07-15 13:00:13 UTC (rev 1507)
@@ -14,7 +14,7 @@
<groupId>org.codelutin</groupId>
<artifactId>jaxx</artifactId>
- <version>1.5.1-SNAPSHOT</version>
+ <version>1.5.1</version>
<modules>
<module>jaxx-runtime-api</module>
@@ -272,4 +272,4 @@
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
1
0
15 Jul '09
Author: sletellier
Date: 2009-07-15 14:43:48 +0200 (Wed, 15 Jul 2009)
New Revision: 1506
Modified:
branches/1.5.X/changelog.txt
Log:
Updated to 1.5.1
Modified: branches/1.5.X/changelog.txt
===================================================================
--- branches/1.5.X/changelog.txt 2009-07-15 12:27:01 UTC (rev 1505)
+++ branches/1.5.X/changelog.txt 2009-07-15 12:43:48 UTC (rev 1506)
@@ -1,3 +1,6 @@
+1.5.1
+ * 20090715 [sletellier] - correct bug in JAXXList, now they can be unselected (null value)
+
1.5
* 20090506 [chemit] - super-pom has no dependencies, use lutinutil 1.0.5
* 20090404 [chemit] - introduce module jaxx-runtime-swing-widget for swing widgets designed with jaxx.
@@ -27,4 +30,4 @@
0.7 chemit 20081210
* 20081210 [chemit] use lutinutil 1.0 and lutinproject 3.2
- * 20081207 [chemit] use lutinproject 3.1
\ No newline at end of file
+ * 20081207 [chemit] use lutinproject 3.1
1
0
[Buix-commits] r1505 - in trunk: . jaxx-compiler jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-swing-widget jaxx-swing-action maven-jaxx-plugin
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
15 Jul '09
Author: sletellier
Date: 2009-07-15 14:27:01 +0200 (Wed, 15 Jul 2009)
New Revision: 1505
Modified:
trunk/jaxx-compiler/pom.xml
trunk/jaxx-example/pom.xml
trunk/jaxx-runtime-api/pom.xml
trunk/jaxx-runtime-swing-widget/pom.xml
trunk/jaxx-runtime-swing/pom.xml
trunk/jaxx-swing-action/pom.xml
trunk/maven-jaxx-plugin/pom.xml
trunk/pom.xml
Log:
[maven-release-plugin] rollback the release of jaxx-1.7.1
Modified: trunk/jaxx-compiler/pom.xml
===================================================================
--- trunk/jaxx-compiler/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/jaxx-compiler/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-example/pom.xml
===================================================================
--- trunk/jaxx-example/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/jaxx-example/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-api/pom.xml
===================================================================
--- trunk/jaxx-runtime-api/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/jaxx-runtime-api/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-swing/pom.xml
===================================================================
--- trunk/jaxx-runtime-swing/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/jaxx-runtime-swing/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-swing-widget/pom.xml
===================================================================
--- trunk/jaxx-runtime-swing-widget/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/jaxx-runtime-swing-widget/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-swing-action/pom.xml
===================================================================
--- trunk/jaxx-swing-action/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/jaxx-swing-action/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- trunk/maven-jaxx-plugin/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/maven-jaxx-plugin/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
+++ trunk/pom.xml 2009-07-15 12:27:01 UTC (rev 1505)
@@ -14,7 +14,7 @@
</parent>
<artifactId>jaxx</artifactId>
- <version>1.7.2-SNAPSHOT</version>
+ <version>1.7.1-SNAPSHOT</version>
<modules>
<module>jaxx-runtime-api</module>
1
0
[Buix-commits] r1504 - in trunk: . jaxx-compiler jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-swing-widget jaxx-swing-action maven-jaxx-plugin
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
15 Jul '09
Author: sletellier
Date: 2009-07-15 13:24:59 +0200 (Wed, 15 Jul 2009)
New Revision: 1504
Modified:
trunk/jaxx-compiler/pom.xml
trunk/jaxx-example/pom.xml
trunk/jaxx-runtime-api/pom.xml
trunk/jaxx-runtime-swing-widget/pom.xml
trunk/jaxx-runtime-swing/pom.xml
trunk/jaxx-swing-action/pom.xml
trunk/maven-jaxx-plugin/pom.xml
trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: trunk/jaxx-compiler/pom.xml
===================================================================
--- trunk/jaxx-compiler/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/jaxx-compiler/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-example/pom.xml
===================================================================
--- trunk/jaxx-example/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/jaxx-example/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-api/pom.xml
===================================================================
--- trunk/jaxx-runtime-api/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/jaxx-runtime-api/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-swing/pom.xml
===================================================================
--- trunk/jaxx-runtime-swing/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/jaxx-runtime-swing/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-swing-widget/pom.xml
===================================================================
--- trunk/jaxx-runtime-swing-widget/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/jaxx-runtime-swing-widget/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-swing-action/pom.xml
===================================================================
--- trunk/jaxx-swing-action/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/jaxx-swing-action/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- trunk/maven-jaxx-plugin/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/maven-jaxx-plugin/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-07-15 11:24:55 UTC (rev 1503)
+++ trunk/pom.xml 2009-07-15 11:24:59 UTC (rev 1504)
@@ -14,7 +14,7 @@
</parent>
<artifactId>jaxx</artifactId>
- <version>1.7.1</version>
+ <version>1.7.2-SNAPSHOT</version>
<modules>
<module>jaxx-runtime-api</module>
@@ -200,9 +200,9 @@
<!-- Source control management. -->
<scm>
- <connection>scm:svn:http://svn.nuiton.org/svn/jaxx/tags/jaxx-1.7.1</connection>
- <developerConnection>scm:svn:http://svn.nuiton.org/svn/jaxx/tags/jaxx-1.7.1</developerConnection>
- <url>http://www.nuiton.org/repositories/browse/jaxx/tags/jaxx-1.7.1</url>
+ <connection>scm:svn:http://svn.nuiton.org/svn/jaxx/trunk</connection>
+ <developerConnection>scm:svn:http://svn.nuiton.org/svn/jaxx/trunk</developerConnection>
+ <url>http://www.nuiton.org/repositories/browse/jaxx/trunk</url>
</scm>
</project>
1
0
[Buix-commits] r1503 - in tags: . jaxx-1.7.1
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
15 Jul '09
Author: sletellier
Date: 2009-07-15 13:24:55 +0200 (Wed, 15 Jul 2009)
New Revision: 1503
Added:
tags/jaxx-1.7.1/
Log:
[maven-scm] copy for tag jaxx-1.7.1
Property changes on: tags/jaxx-1.7.1
___________________________________________________________________
Added: svn:ignore
+ *.ipr
*.iws
*.iml
target
catalog.xml
*.log
Added: svn:mergeinfo
+
1
0
[Buix-commits] r1502 - in trunk: . jaxx-compiler jaxx-example jaxx-runtime-api jaxx-runtime-swing jaxx-runtime-swing-widget jaxx-swing-action maven-jaxx-plugin
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
15 Jul '09
Author: sletellier
Date: 2009-07-15 13:24:50 +0200 (Wed, 15 Jul 2009)
New Revision: 1502
Modified:
trunk/jaxx-compiler/pom.xml
trunk/jaxx-example/pom.xml
trunk/jaxx-runtime-api/pom.xml
trunk/jaxx-runtime-swing-widget/pom.xml
trunk/jaxx-runtime-swing/pom.xml
trunk/jaxx-swing-action/pom.xml
trunk/maven-jaxx-plugin/pom.xml
trunk/pom.xml
Log:
[maven-release-plugin] prepare release jaxx-1.7.1
Modified: trunk/jaxx-compiler/pom.xml
===================================================================
--- trunk/jaxx-compiler/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/jaxx-compiler/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-example/pom.xml
===================================================================
--- trunk/jaxx-example/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/jaxx-example/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-api/pom.xml
===================================================================
--- trunk/jaxx-runtime-api/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/jaxx-runtime-api/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-swing/pom.xml
===================================================================
--- trunk/jaxx-runtime-swing/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/jaxx-runtime-swing/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-runtime-swing-widget/pom.xml
===================================================================
--- trunk/jaxx-runtime-swing-widget/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/jaxx-runtime-swing-widget/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/jaxx-swing-action/pom.xml
===================================================================
--- trunk/jaxx-swing-action/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/jaxx-swing-action/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/maven-jaxx-plugin/pom.xml
===================================================================
--- trunk/maven-jaxx-plugin/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/maven-jaxx-plugin/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<groupId>org.nuiton.jaxx</groupId>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-07-15 11:17:28 UTC (rev 1501)
+++ trunk/pom.xml 2009-07-15 11:24:50 UTC (rev 1502)
@@ -14,7 +14,7 @@
</parent>
<artifactId>jaxx</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
<modules>
<module>jaxx-runtime-api</module>
@@ -200,9 +200,9 @@
<!-- Source control management. -->
<scm>
- <connection>scm:svn:http://svn.nuiton.org/svn/jaxx/trunk</connection>
- <developerConnection>scm:svn:http://svn.nuiton.org/svn/jaxx/trunk</developerConnection>
- <url>http://www.nuiton.org/repositories/browse/jaxx/trunk</url>
+ <connection>scm:svn:http://svn.nuiton.org/svn/jaxx/tags/jaxx-1.7.1</connection>
+ <developerConnection>scm:svn:http://svn.nuiton.org/svn/jaxx/tags/jaxx-1.7.1</developerConnection>
+ <url>http://www.nuiton.org/repositories/browse/jaxx/tags/jaxx-1.7.1</url>
</scm>
</project>
1
0
[Buix-commits] r1501 - trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
by sletellier@users.labs.libre-entreprise.org 15 Jul '09
15 Jul '09
Author: sletellier
Date: 2009-07-15 13:17:28 +0200 (Wed, 15 Jul 2009)
New Revision: 1501
Modified:
trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/JAXXList.java
Log:
Adding null selection
Modified: trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/JAXXList.java
===================================================================
--- trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/JAXXList.java 2009-07-09 15:46:12 UTC (rev 1500)
+++ trunk/jaxx-runtime-swing/src/main/java/jaxx/runtime/swing/JAXXList.java 2009-07-15 11:17:28 UTC (rev 1501)
@@ -283,21 +283,27 @@
* @param values Objects must be selected in the list
*/
public void setSelectedValues(Object[] values) {
- List<Integer> selectedIndices = new ArrayList<Integer>();
- ListModel model = getModel();
- for (int i = 0; i < model.getSize(); i++) {
- Object o = model.getElementAt(i);
- for (Object value : values) {
- if (o.equals(value)) {
- selectedIndices.add(i);
- break;
+ if (values != null){
+ List<Integer> selectedIndices = new ArrayList<Integer>();
+ ListModel model = getModel();
+ for (int i = 0; i < model.getSize(); i++) {
+ Object o = model.getElementAt(i);
+ for (Object value : values) {
+ if (o.equals(value)) {
+ selectedIndices.add(i);
+ break;
+ }
}
}
+ int[] ints = new int[selectedIndices.size()];
+ for (int i = 0; i < ints.length; i++) {
+ ints[i] = selectedIndices.get(i).intValue();
+ }
+ setSelectedIndices(ints);
}
- int[] ints = new int[selectedIndices.size()];
- for (int i = 0; i < ints.length; i++) {
- ints[i] = selectedIndices.get(i).intValue();
+ else{
+ // No selection if values is null
+ setSelectedIndex(-1);
}
- setSelectedIndices(ints);
}
}
1
0
Author: tchemit
Date: 2009-07-09 17:46:12 +0200 (Thu, 09 Jul 2009)
New Revision: 1500
Modified:
trunk/changelog.txt
Log:
changelog + commit test...
Modified: trunk/changelog.txt
===================================================================
--- trunk/changelog.txt 2009-07-09 15:44:02 UTC (rev 1499)
+++ trunk/changelog.txt 2009-07-09 15:46:12 UTC (rev 1500)
@@ -1,3 +1,5 @@
+1.7.1
+
1.7.0
* reorganize modules
1
0
[Buix-commits] r1435 - in guix/trunk/guix-compiler/src/main/java/org/w3c: css/sac css/sac/helpers flute/parser/selectors flute/util
by kmorin@users.labs.libre-entreprise.org 19 May '09
by kmorin@users.labs.libre-entreprise.org 19 May '09
19 May '09
Author: kmorin
Date: 2009-05-19 08:39:48 +0000 (Tue, 19 May 2009)
New Revision: 1435
Added:
guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/SelectorList.java
guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/helpers/
guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/helpers/ParserFactory.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AndConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AttributeConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/BeginHyphenAttributeConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ChildSelectorImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ClassConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionFactoryImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionalSelectorImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DescendantSelectorImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DirectAdjacentSelectorImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ElementSelectorImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/IdConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/LangConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/OneOfAttributeConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoClassConditionImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoElementSelectorImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/SelectorFactoryImpl.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/Encoding.java
guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/encoding.properties
Log:
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/SelectorList.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/SelectorList.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/SelectorList.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 1999 World Wide Web Consortium
+ * (Massachusetts Institute of Technology, Institut National de Recherche
+ * en Informatique et en Automatique, Keio University).
+ * All Rights Reserved. http://www.w3.org/Consortium/Legal/
+ *
+ * $Id: SelectorList.java,v 1.1 1999/09/26 10:06:45 plehegar Exp $
+ */
+package org.w3c.css.sac;
+
+/**
+ * The SelectorList interface provides the abstraction of an ordered collection
+ * of selectors, without defining or constraining how this collection is
+ * implemented.
+ *
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public interface SelectorList {
+
+ /**
+ * Returns the length of this selector list
+ */
+ public int getLength();
+
+ /**
+ * Returns the selector at the specified index, or <code>null</code> if this
+ * is not a valid index.
+ */
+ public Selector item(int index);
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/helpers/ParserFactory.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/helpers/ParserFactory.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/css/sac/helpers/ParserFactory.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 1999 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: ParserFactory.java,v 1.1 2000/02/14 15:54:49 plehegar Exp $
+ */
+package org.w3c.css.sac.helpers;
+
+import org.w3c.css.sac.Parser;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class ParserFactory {
+
+ /**
+ * Create a parser with given selectors factory and conditions factory.
+ */
+ public Parser makeParser()
+ throws ClassNotFoundException,
+ IllegalAccessException,
+ InstantiationException,
+ NullPointerException,
+ ClassCastException {
+ String className = System.getProperty("org.w3c.css.sac.parser");
+ if (className == null) {
+ throw new NullPointerException("No value for sac.parser property");
+ } else {
+ return (Parser)(Class.forName(className).newInstance());
+ }
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AndConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AndConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AndConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: AndConditionImpl.java,v 1.1 2000/04/19 21:57:47 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.CombinatorCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class AndConditionImpl implements CombinatorCondition {
+
+ Condition firstCondition;
+ Condition secondCondition;
+
+ /**
+ * Creates a new AndConditionImpl
+ */
+ public AndConditionImpl(Condition firstCondition, Condition secondCondition) {
+ this.firstCondition = firstCondition;
+ this.secondCondition = secondCondition;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_AND_CONDITION;
+ }
+
+ /**
+ * Returns the first condition.
+ */
+ public Condition getFirstCondition() {
+ return firstCondition;
+ }
+
+ /**
+ * Returns the second condition.
+ */
+ public Condition getSecondCondition() {
+ return secondCondition;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AttributeConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AttributeConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/AttributeConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,92 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: AttributeConditionImpl.java,v 1.2 2002/06/17 14:08:15 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class AttributeConditionImpl implements AttributeCondition {
+
+ String localName;
+ String value;
+
+ /**
+ * Creates a new AttributeConditionImpl
+ */
+ public AttributeConditionImpl(String localName, String value) {
+ this.localName = localName;
+ this.value = value;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_ATTRIBUTE_CONDITION;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this attribute condition.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li>this attribute condition can match any namespace.
+ * <li>this attribute is an id attribute.
+ * </ul>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this attribute.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li><p>this attribute condition can match any attribute.
+ * <li><p>this attribute is a class attribute.
+ * <li><p>this attribute is an id attribute.
+ * <li><p>this attribute is a pseudo-class attribute.
+ * </ul>
+ */
+ public String getLocalName() {
+ return localName;
+ }
+
+ /**
+ * Returns <code>true</code> if the attribute must have an explicit value
+ * in the original document, <code>false</code> otherwise.
+ */
+ public boolean getSpecified() {
+ return false;
+ }
+
+ /**
+ * Returns the value of the attribute.
+ * If this attribute is a class or a pseudo class attribute, you'll get
+ * the class name (or psedo class name) without the '.' or ':'.
+ */
+ public String getValue() {
+ return value;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/BeginHyphenAttributeConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/BeginHyphenAttributeConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/BeginHyphenAttributeConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,92 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: BeginHyphenAttributeConditionImpl.java,v 1.2 2002/06/17 14:11:10 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class BeginHyphenAttributeConditionImpl implements AttributeCondition {
+
+ String localName;
+ String value;
+
+ /**
+ * Creates a new AttributeConditionImpl
+ */
+ public BeginHyphenAttributeConditionImpl(String localName, String value) {
+ this.localName = localName;
+ this.value = value;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this attribute condition.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li>this attribute condition can match any namespace.
+ * <li>this attribute is an id attribute.
+ * </ul>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this attribute.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li><p>this attribute condition can match any attribute.
+ * <li><p>this attribute is a class attribute.
+ * <li><p>this attribute is an id attribute.
+ * <li><p>this attribute is a pseudo-class attribute.
+ * </ul>
+ */
+ public String getLocalName() {
+ return localName;
+ }
+
+ /**
+ * Returns <code>true</code> if the attribute must have an explicit value
+ * in the original document, <code>false</code> otherwise.
+ */
+ public boolean getSpecified() {
+ return false;
+ }
+
+ /**
+ * Returns the value of the attribute.
+ * If this attribute is a class or a pseudo class attribute, you'll get
+ * the class name (or psedo class name) without the '.' or ':'.
+ */
+ public String getValue() {
+ return value;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ChildSelectorImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ChildSelectorImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ChildSelectorImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: ChildSelectorImpl.java,v 1.2 2000/07/27 21:32:26 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.DescendantSelector;
+import org.w3c.css.sac.Selector;
+import org.w3c.css.sac.SimpleSelector;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class ChildSelectorImpl implements DescendantSelector {
+
+ Selector parent;
+ SimpleSelector child;
+
+ /**
+ * An integer indicating the type of <code>Selector</code>
+ */
+ public short getSelectorType() {
+ return Selector.SAC_CHILD_SELECTOR;
+ }
+
+ /**
+ * Creates a new ChildSelectorImpl
+ */
+ public ChildSelectorImpl(Selector parent, SimpleSelector child) {
+ this.parent = parent;
+ this.child = child;
+ }
+
+
+ /**
+ * Returns the parent selector.
+ */
+ public Selector getAncestorSelector() {
+ return parent;
+ }
+
+ /*
+ * Returns the simple selector.
+ */
+ public SimpleSelector getSimpleSelector() {
+ return child;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ClassConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ClassConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ClassConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: ClassConditionImpl.java,v 1.2 2002/06/17 14:10:28 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class ClassConditionImpl implements AttributeCondition {
+
+ String value;
+
+ /**
+ * Creates a new AttributeConditionImpl
+ */
+ public ClassConditionImpl(String value) {
+ this.value = value;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_CLASS_CONDITION;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this attribute condition.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li>this attribute condition can match any namespace.
+ * <li>this attribute is an id attribute.
+ * </ul>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this attribute.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li><p>this attribute condition can match any attribute.
+ * <li><p>this attribute is a class attribute.
+ * <li><p>this attribute is an id attribute.
+ * <li><p>this attribute is a pseudo-class attribute.
+ * </ul>
+ */
+ public String getLocalName() {
+ return null;
+ }
+
+ /**
+ * Returns <code>true</code> if the attribute must have an explicit value
+ * in the original document, <code>false</code> otherwise.
+ */
+ public boolean getSpecified() {
+ return false;
+ }
+
+ /**
+ * Returns the value of the attribute.
+ * If this attribute is a class or a pseudo class attribute, you'll get
+ * the class name (or psedo class name) without the '.' or ':'.
+ */
+ public String getValue() {
+ return value;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionFactoryImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionFactoryImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionFactoryImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,247 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: ConditionFactoryImpl.java,v 1.2 2002/06/17 14:12:38 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.CSSException;
+import org.w3c.css.sac.Condition;
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.LangCondition;
+import org.w3c.css.sac.ContentCondition;
+import org.w3c.css.sac.CombinatorCondition;
+import org.w3c.css.sac.PositionalCondition;
+import org.w3c.css.sac.NegativeCondition;
+import org.w3c.css.sac.ConditionFactory;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class ConditionFactoryImpl implements ConditionFactory {
+
+ /**
+ * Creates an and condition
+ *
+ * @param first the first condition
+ * @param second the second condition
+ * @return A combinator condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public CombinatorCondition createAndCondition(Condition first,
+ Condition second)
+ throws CSSException {
+ return new AndConditionImpl(first, second);
+ }
+
+ /**
+ * Creates an or condition
+ *
+ * @param first the first condition
+ * @param second the second condition
+ * @return A combinator condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public CombinatorCondition createOrCondition(Condition first,
+ Condition second)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a negative condition
+ *
+ * @param condition the condition
+ * @return A negative condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public NegativeCondition createNegativeCondition(Condition condition)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+
+ /**
+ * Creates a positional condition
+ *
+ * @param position the position of the node in the list.
+ * @param typeNode <code>true</code> if the list should contain
+ * only nodes of the same type (element, text node, ...).
+ * @param type <code>true</code> true if the list should contain
+ * only nodes of the same node (for element, same localName
+ * and same namespaceURI).
+ * @return A positional condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public PositionalCondition createPositionalCondition(int position,
+ boolean typeNode,
+ boolean type)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * creates an attribute condition
+ *
+ * @param localName the localName of the attribute
+ * @param namespaceURI the namespace URI of the attribute
+ * @param specified <code>true</code> if the attribute must be specified
+ * in the document.
+ * @param value the value of this attribute.
+ * @return An attribute condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public AttributeCondition createAttributeCondition(String localName,
+ String namespaceURI,
+ boolean specified,
+ String value)
+ throws CSSException {
+ if ((namespaceURI != null) || specified) {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ } else {
+ return new AttributeConditionImpl(localName, value);
+ }
+ }
+
+ /**
+ * Creates an id condition
+ *
+ * @param value the value of the id.
+ * @return An Id condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public AttributeCondition createIdCondition(String value)
+ throws CSSException {
+ return new IdConditionImpl(value);
+ }
+
+ /**
+ * Creates a lang condition
+ *
+ * @param value the value of the language.
+ * @return A lang condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public LangCondition createLangCondition(String lang)
+ throws CSSException {
+ return new LangConditionImpl(lang);
+ }
+
+ /**
+ * Creates a "one of" attribute condition
+ *
+ * @param localName the localName of the attribute
+ * @param namespaceURI the namespace URI of the attribute
+ * @param specified <code>true</code> if the attribute must be specified
+ * in the document.
+ * @param value the value of this attribute.
+ * @return A "one of" attribute condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public AttributeCondition createOneOfAttributeCondition(String localName,
+ String namespaceURI,
+ boolean specified,
+ String value)
+ throws CSSException {
+ if ((namespaceURI != null) || specified) {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ } else {
+ return new OneOfAttributeConditionImpl(localName, value);
+ }
+ }
+
+ /**
+ * Creates a "begin hyphen" attribute condition
+ *
+ * @param localName the localName of the attribute
+ * @param namespaceURI the namespace URI of the attribute
+ * @param specified <code>true</code> if the attribute must be specified
+ * in the document.
+ * @param value the value of this attribute.
+ * @return A "begin hyphen" attribute condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public AttributeCondition createBeginHyphenAttributeCondition(String localName,
+ String namespaceURI,
+ boolean specified,
+ String value)
+ throws CSSException {
+ if ((namespaceURI != null) || specified) {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ } else {
+ return new BeginHyphenAttributeConditionImpl(localName, value);
+ }
+ }
+
+ /**
+ * Creates a class condition
+ *
+ * @param localName the localName of the attribute
+ * @param namespaceURI the namespace URI of the attribute
+ * @param specified <code>true</code> if the attribute must be specified
+ * in the document.
+ * @param value the name of the class.
+ * @return A class condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public AttributeCondition createClassCondition(String namespaceURI,
+ String value)
+ throws CSSException {
+ return new ClassConditionImpl(value);
+ }
+
+ /**
+ * Creates a pseudo class condition
+ *
+ * @param namespaceURI the namespace URI of the attribute
+ * @param value the name of the pseudo class
+ * @return A pseudo class condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public AttributeCondition createPseudoClassCondition(String namespaceURI,
+ String value)
+ throws CSSException {
+ return new PseudoClassConditionImpl(value);
+ }
+
+ /**
+ * Creates a "only one" child condition
+ *
+ * @return A "only one" child condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public Condition createOnlyChildCondition() throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a "only one" type condition
+ *
+ * @return A "only one" type condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public Condition createOnlyTypeCondition() throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a content condition
+ *
+ * @param data the data in the content
+ * @return A content condition
+ * @exception CSSException if this exception is not supported.
+ */
+ public ContentCondition createContentCondition(String data)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionalSelectorImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionalSelectorImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ConditionalSelectorImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: ConditionalSelectorImpl.java,v 1.1 2000/04/19 21:57:47 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.ConditionalSelector;
+import org.w3c.css.sac.Selector;
+import org.w3c.css.sac.SimpleSelector;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class ConditionalSelectorImpl implements ConditionalSelector {
+
+ SimpleSelector simpleSelector;
+ Condition condition;
+
+ /**
+ * An integer indicating the type of <code>Selector</code>
+ */
+ public short getSelectorType() {
+ return Selector.SAC_CONDITIONAL_SELECTOR;
+ }
+
+
+ /**
+ * Creates a new ConditionalSelectorImpl
+ */
+ public ConditionalSelectorImpl(SimpleSelector simpleSelector,
+ Condition condition) {
+ this.simpleSelector = simpleSelector;
+ this.condition = condition;
+ }
+
+
+ /**
+ * Returns the simple selector.
+ * <p>The simple selector can't be a <code>ConditionalSelector</code>.</p>
+ */
+ public SimpleSelector getSimpleSelector() {
+ return simpleSelector;
+ }
+
+ /**
+ * Returns the condition to be applied on the simple selector.
+ */
+ public Condition getCondition() {
+ return condition;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DescendantSelectorImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DescendantSelectorImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DescendantSelectorImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: DescendantSelectorImpl.java,v 1.2 2000/07/27 21:32:26 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.DescendantSelector;
+import org.w3c.css.sac.Selector;
+import org.w3c.css.sac.SimpleSelector;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class DescendantSelectorImpl implements DescendantSelector {
+
+ Selector parent;
+ SimpleSelector simpleSelector;
+
+ /**
+ * An integer indicating the type of <code>Selector</code>
+ */
+ public short getSelectorType() {
+ return Selector.SAC_DESCENDANT_SELECTOR;
+ }
+
+ /**
+ * Creates a new DescendantSelectorImpl
+ */
+ public DescendantSelectorImpl(Selector parent, SimpleSelector simpleSelector) {
+ this.parent = parent;
+ this.simpleSelector = simpleSelector;
+ }
+
+
+ /**
+ * Returns the parent selector.
+ */
+ public Selector getAncestorSelector() {
+ return parent;
+ }
+
+ /*
+ * Returns the simple selector.
+ */
+ public SimpleSelector getSimpleSelector() {
+ return simpleSelector;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DirectAdjacentSelectorImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DirectAdjacentSelectorImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/DirectAdjacentSelectorImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: DirectAdjacentSelectorImpl.java,v 1.2 2000/07/27 21:32:26 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.SiblingSelector;
+import org.w3c.css.sac.Selector;
+import org.w3c.css.sac.SimpleSelector;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class DirectAdjacentSelectorImpl implements SiblingSelector {
+
+ Selector child;
+ SimpleSelector directAdjacent;
+
+ /**
+ * An integer indicating the type of <code>Selector</code>
+ */
+ public short getSelectorType() {
+ return Selector.SAC_DIRECT_ADJACENT_SELECTOR;
+ }
+
+ /**
+ * Creates a new DescendantSelectorImpl
+ */
+ public DirectAdjacentSelectorImpl(Selector child,
+ SimpleSelector directAdjacent) {
+ this.child = child;
+ this.directAdjacent = directAdjacent;
+ }
+
+ public short getNodeType() {
+ return 1;
+ }
+
+ /**
+ * Returns the parent selector.
+ */
+ public Selector getSelector() {
+ return child;
+ }
+
+ /*
+ * Returns the simple selector.
+ */
+ public SimpleSelector getSiblingSelector() {
+ return directAdjacent;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ElementSelectorImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ElementSelectorImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/ElementSelectorImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: ElementSelectorImpl.java,v 1.1 2000/04/19 21:57:47 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.ElementSelector;
+import org.w3c.css.sac.Selector;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class ElementSelectorImpl implements ElementSelector {
+
+ String localName;
+
+ /**
+ * Creates a new ElementSelectorImpl
+ */
+ public ElementSelectorImpl(String localName) {
+ this.localName = localName;
+ }
+
+ /**
+ * An integer indicating the type of <code>Selector</code>
+ */
+ public short getSelectorType() {
+ return Selector.SAC_ELEMENT_NODE_SELECTOR;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this element selector.
+ * <p><code>NULL</code> if this element selector can match any namespace.</p>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this element.
+ * <p><code>NULL</code> if this element selector can match any element.</p>
+ * </ul>
+ */
+ public String getLocalName() {
+ return localName;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/IdConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/IdConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/IdConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: IdConditionImpl.java,v 1.2 2002/06/17 14:08:28 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class IdConditionImpl implements AttributeCondition {
+
+ String value;
+
+ /**
+ * Creates a new AttributeConditionImpl
+ */
+ public IdConditionImpl(String value) {
+ this.value = value;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_ID_CONDITION;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this attribute condition.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li>this attribute condition can match any namespace.
+ * <li>this attribute is an id attribute.
+ * </ul>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this attribute.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li><p>this attribute condition can match any attribute.
+ * <li><p>this attribute is a class attribute.
+ * <li><p>this attribute is an id attribute.
+ * <li><p>this attribute is a pseudo-class attribute.
+ * </ul>
+ */
+ public String getLocalName() {
+ return null;
+ }
+
+ /**
+ * Returns <code>true</code> if the attribute must have an explicit value
+ * in the original document, <code>false</code> otherwise.
+ */
+ public boolean getSpecified() {
+ return false;
+ }
+
+ /**
+ * Returns the value of the attribute.
+ * If this attribute is a class or a pseudo class attribute, you'll get
+ * the class name (or psedo class name) without the '.' or ':'.
+ */
+ public String getValue() {
+ return value;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/LangConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/LangConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/LangConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: LangConditionImpl.java,v 1.1 2000/04/19 21:57:47 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.LangCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class LangConditionImpl implements LangCondition {
+
+ String lang;
+
+ /**
+ * Creates a new LangConditionImpl
+ */
+ public LangConditionImpl(String lang) {
+ this.lang = lang;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_LANG_CONDITION;
+ }
+
+ /**
+ * Returns the language
+ */
+ public String getLang() {
+ return lang;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/OneOfAttributeConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/OneOfAttributeConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/OneOfAttributeConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,92 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: OneOfAttributeConditionImpl.java,v 1.2 2002/06/17 14:09:59 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class OneOfAttributeConditionImpl implements AttributeCondition {
+
+ String localName;
+ String value;
+
+ /**
+ * Creates a new AttributeConditionImpl
+ */
+ public OneOfAttributeConditionImpl(String localName, String value) {
+ this.localName = localName;
+ this.value = value;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_ONE_OF_ATTRIBUTE_CONDITION;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this attribute condition.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li>this attribute condition can match any namespace.
+ * <li>this attribute is an id attribute.
+ * </ul>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this attribute.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li><p>this attribute condition can match any attribute.
+ * <li><p>this attribute is a class attribute.
+ * <li><p>this attribute is an id attribute.
+ * <li><p>this attribute is a pseudo-class attribute.
+ * </ul>
+ */
+ public String getLocalName() {
+ return localName;
+ }
+
+ /**
+ * Returns <code>true</code> if the attribute must have an explicit value
+ * in the original document, <code>false</code> otherwise.
+ */
+ public boolean getSpecified() {
+ return false;
+ }
+
+ /**
+ * Returns the value of the attribute.
+ * If this attribute is a class or a pseudo class attribute, you'll get
+ * the class name (or psedo class name) without the '.' or ':'.
+ */
+ public String getValue() {
+ return value;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoClassConditionImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoClassConditionImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoClassConditionImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: PseudoClassConditionImpl.java,v 1.2 2002/06/17 14:08:37 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.AttributeCondition;
+import org.w3c.css.sac.Condition;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class PseudoClassConditionImpl implements AttributeCondition {
+
+ String value;
+
+ /**
+ * Creates a new AttributeConditionImpl
+ */
+ public PseudoClassConditionImpl(String value) {
+ this.value = value;
+ }
+
+ /**
+ * An integer indicating the type of <code>Condition</code>.
+ */
+ public short getConditionType() {
+ return Condition.SAC_PSEUDO_CLASS_CONDITION;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this attribute condition.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li>this attribute condition can match any namespace.
+ * <li>this attribute is an id attribute.
+ * </ul>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this attribute.
+ * <p><code>NULL</code> if :
+ * <ul>
+ * <li><p>this attribute condition can match any attribute.
+ * <li><p>this attribute is a class attribute.
+ * <li><p>this attribute is an id attribute.
+ * <li><p>this attribute is a pseudo-class attribute.
+ * </ul>
+ */
+ public String getLocalName() {
+ return null;
+ }
+
+ /**
+ * Returns <code>true</code> if the attribute must have an explicit value
+ * in the original document, <code>false</code> otherwise.
+ */
+ public boolean getSpecified() {
+ return true;
+ }
+
+ /**
+ * Returns the value of the attribute.
+ * If this attribute is a class or a pseudo class attribute, you'll get
+ * the class name (or psedo class name) without the '.' or ':'.
+ */
+ public String getValue() {
+ return value;
+ }
+}
+
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoElementSelectorImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoElementSelectorImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/PseudoElementSelectorImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: PseudoElementSelectorImpl.java,v 1.1 2000/04/19 21:57:47 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.ElementSelector;
+import org.w3c.css.sac.Selector;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class PseudoElementSelectorImpl implements ElementSelector {
+
+ String localName;
+
+ /**
+ * Creates a new ElementSelectorImpl
+ */
+ public PseudoElementSelectorImpl(String localName) {
+ this.localName = localName;
+ }
+
+ /**
+ * An integer indicating the type of <code>Selector</code>
+ */
+ public short getSelectorType() {
+ return Selector.SAC_PSEUDO_ELEMENT_SELECTOR;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of this element selector.
+ * <p><code>NULL</code> if this element selector can match any namespace.</p>
+ */
+ public String getNamespaceURI() {
+ return null;
+ }
+
+ /**
+ * Returns the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
+ * of the
+ * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
+ * name</a> of this element.
+ * <p><code>NULL</code> if this element selector can match any element.</p>
+ * </ul>
+ */
+ public String getLocalName() {
+ return localName;
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/SelectorFactoryImpl.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/SelectorFactoryImpl.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/parser/selectors/SelectorFactoryImpl.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,217 @@
+/*
+ * Copyright (c) 2000 World Wide Web Consortium,
+ * (Massachusetts Institute of Technology, Institut National de
+ * Recherche en Informatique et en Automatique, Keio University). All
+ * Rights Reserved. This program is distributed under the W3C's Software
+ * Intellectual Property License. This program is distributed in the
+ * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+ *
+ * $Id: SelectorFactoryImpl.java,v 1.2 2000/07/27 21:32:26 plehegar Exp $
+ */
+package org.w3c.flute.parser.selectors;
+
+import org.w3c.css.sac.SelectorFactory;
+import org.w3c.css.sac.ConditionalSelector;
+import org.w3c.css.sac.NegativeSelector;
+import org.w3c.css.sac.SimpleSelector;
+import org.w3c.css.sac.ElementSelector;
+import org.w3c.css.sac.CharacterDataSelector;
+import org.w3c.css.sac.ProcessingInstructionSelector;
+import org.w3c.css.sac.SiblingSelector;
+import org.w3c.css.sac.DescendantSelector;
+import org.w3c.css.sac.Selector;
+import org.w3c.css.sac.Condition;
+import org.w3c.css.sac.CSSException;
+
+/**
+ * @version $Revision: 1.2 $
+ * @author Philippe Le Hegaret
+ */
+public class SelectorFactoryImpl implements SelectorFactory {
+
+ /**
+ * Creates a conditional selector.
+ *
+ * @param selector a selector.
+ * @param condition a condition
+ * @return the conditional selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public ConditionalSelector createConditionalSelector(SimpleSelector selector,
+ Condition condition)
+ throws CSSException {
+ return new ConditionalSelectorImpl(selector, condition);
+ }
+
+ /**
+ * Creates an any node selector.
+ *
+ * @return the any node selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public SimpleSelector createAnyNodeSelector() throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates an root node selector.
+ *
+ * @return the root node selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public SimpleSelector createRootNodeSelector() throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates an negative selector.
+ *
+ * @param selector a selector.
+ * @return the negative selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public NegativeSelector createNegativeSelector(SimpleSelector selector)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates an element selector.
+ *
+ * @param namespaceURI the <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
+ * URI</a> of the element selector.
+ * @param tagName the <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local
+ * part</a> of the element name. <code>NULL</code> if this element
+ * selector can match any element.</p>
+ * @return the element selector
+ * @exception CSSException If this selector is not supported.
+ */
+ public ElementSelector createElementSelector(String namespaceURI, String localName)
+ throws CSSException {
+ if (namespaceURI != null) {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ } else {
+ return new ElementSelectorImpl(localName);
+ }
+ }
+
+ /**
+ * Creates a text node selector.
+ *
+ * @param data the data
+ * @return the text node selector
+ * @exception CSSException If this selector is not supported.
+ */
+ public CharacterDataSelector createTextNodeSelector(String data)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a cdata section node selector.
+ *
+ * @param data the data
+ * @return the cdata section node selector
+ * @exception CSSException If this selector is not supported.
+ */
+ public CharacterDataSelector createCDataSectionSelector(String data)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a processing instruction node selector.
+ *
+ * @param target the target
+ * @param data the data
+ * @return the processing instruction node selector
+ * @exception CSSException If this selector is not supported.
+ */
+ public ProcessingInstructionSelector
+ createProcessingInstructionSelector(String target,
+ String data)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a comment node selector.
+ *
+ * @param data the data
+ * @return the comment node selector
+ * @exception CSSException If this selector is not supported.
+ */
+ public CharacterDataSelector createCommentSelector(String data)
+ throws CSSException {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ }
+
+ /**
+ * Creates a pseudo element selector.
+ *
+ * @param pseudoName the pseudo element name. <code>NULL</code> if this
+ * element selector can match any pseudo element.</p>
+ * @return the element selector
+ * @exception CSSException If this selector is not supported.
+ */
+ public ElementSelector createPseudoElementSelector(String namespaceURI,
+ String pseudoName)
+ throws CSSException {
+ if (namespaceURI != null) {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ } else {
+ return new PseudoElementSelectorImpl(pseudoName);
+ }
+ }
+
+ /**
+ * Creates a descendant selector.
+ *
+ * @param parent the parent selector
+ * @param descendant the descendant selector
+ * @return the combinator selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public DescendantSelector createDescendantSelector(Selector parent,
+ SimpleSelector descendant)
+ throws CSSException {
+ return new DescendantSelectorImpl(parent, descendant);
+ }
+
+ /**
+ * Creates a child selector.
+ *
+ * @param parent the parent selector
+ * @param child the child selector
+ * @return the combinator selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public DescendantSelector createChildSelector(Selector parent,
+ SimpleSelector child)
+ throws CSSException {
+ return new ChildSelectorImpl(parent, child);
+ }
+
+ /**
+ * Creates a direct adjacent selector.
+ *
+ * @param child the child selector
+ * @param adjacent the direct adjacent selector
+ * @return the combinator selector.
+ * @exception CSSException If this selector is not supported.
+ */
+ public SiblingSelector createDirectAdjacentSelector(short nodeType,
+ Selector child,
+ SimpleSelector directAdjacent)
+ throws CSSException {
+ if (nodeType != 1) {
+ throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
+ } else {
+ return new DirectAdjacentSelectorImpl(child, directAdjacent);
+ }
+ }
+
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/Encoding.java
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/Encoding.java (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/Encoding.java 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 1999 World Wide Web Consortium
+ * (Massachusetts Institute of Technology, Institut National de Recherche
+ * en Informatique et en Automatique, Keio University).
+ * All Rights Reserved. http://www.w3.org/Consortium/Legal/
+ *
+ * $Id: Encoding.java,v 1.1 1999/04/02 13:23:32 plehegar Exp $
+ */
+package org.w3c.flute.util;
+
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Properties;
+
+/**
+ * @version $Revision: 1.1 $
+ * @author Philippe Le Hegaret
+ */
+public class Encoding {
+ private Encoding() {}
+
+ /**
+ * Converts the format encoding information into Java encoding information.
+ */
+ public static String getJavaEncoding(String encoding) {
+ String _result = encodings.getProperty(encoding);
+ if (_result == null) {
+ return encoding;
+ }
+ return _result;
+ }
+
+ static Properties encodings;
+
+ static {
+ encodings = new Properties();
+
+ try {
+ URL url = Encoding.class.getResource("encoding.properties");
+ InputStream f = url.openStream();
+ encodings.load(f);
+ f.close();
+ } catch (Exception e) {
+ System.err.println(Encoding.class
+ + ": couldn't load encoding properties ");
+ e.printStackTrace();
+ }
+ }
+}
Added: guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/encoding.properties
===================================================================
--- guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/encoding.properties (rev 0)
+++ guix/trunk/guix-compiler/src/main/java/org/w3c/flute/util/encoding.properties 2009-05-19 08:39:48 UTC (rev 1435)
@@ -0,0 +1,92 @@
+iso-ir-6 = ASCII
+ANSI_X3.4-1986 = ASCII
+ISO_646.irv:1991 = ASCII
+ASCII = ASCII
+ISO646-US = ASCII
+US-ASCII = ASCII
+us = ASCII
+IBM367 = ASCII
+cp367 = ASCII
+csASCII = ASCII
+
+iso-ir-100 = ISO8859_1
+ISO_8859-1:1987 = ISO8859_1
+ISO_8859-1 = ISO8859_1
+ISO-8859-1 = ISO8859_1
+latin1 = ISO8859_1
+l1 = ISO8859_1
+IBM819 = ISO8859_1
+CP819 = ISO8859_1
+csISOLatin1 = ISO8859_1
+
+iso-ir-101 = ISO8859_2
+ISO_8859-2:1987 = ISO8859_2
+ISO_8859-2 = ISO8859_2
+ISO-8859-2 = ISO8859_2
+latin2 = ISO8859_2
+l2 = ISO8859_2
+csISOLatin2 = ISO8859_2
+
+ISO_8859-3:1988 = ISO8859_3
+iso-ir-109 = ISO8859_3
+ISO_8859-3 = ISO8859_3
+ISO-8859-3 = ISO8859_3
+latin3 = ISO8859_3
+l3 = ISO8859_3
+csISOLatin3 = ISO8859_3
+
+iso-ir-110 = ISO8859_4
+ISO_8859-4:1988 = ISO8859_4
+ISO_8859-4 = ISO8859_4
+ISO-8859-4 = ISO8859_4
+latin4 = ISO8859_4
+l4 = ISO8859_4
+csISOLatin4 = ISO8859_4
+
+iso-ir-127 = ISO8859_6
+ISO_8859-6 = ISO8859_6
+ISO_8859-6:1987 = ISO8859_6
+ISO-8859-6 = ISO8859_6
+ECMA-114 = ISO8859_6
+ASMO-708 = ISO8859_6
+arabic = ISO8859_6
+csISOLatinArabic = ISO8859_6
+
+iso-ir-126 = ISO8859_7
+ISO_8859-7 = ISO8859_7
+ISO_8859-7:1987 = ISO8859_7
+ISO-8859-7 = ISO8859_7
+ELOT_928 = ISO8859_7
+ECMA-118 = ISO8859_7
+greek = ISO8859_7
+greek8 = ISO8859_7
+csISOLatinGreek = ISO8859_7
+
+ISO_8859-8:1988 = ISO8859_8
+iso-ir-138 = ISO8859_8
+ISO_8859-8 = ISO8859_8
+ISO-8859-8 = ISO8859_8
+hebrew = ISO8859_8
+csISOLatinHebrew = ISO8859_8
+
+ISO_8859-9:1989 = ISO8859_9
+iso-ir-148 = ISO8859_9
+ISO_8859-9 = ISO8859_9
+ISO-8859-9 = ISO8859_9
+latin5 = ISO8859_9
+l5 = ISO8859_9
+csISOLatin5 = ISO8859_9
+
+ISO_8859-15 = ISO8859_15_FDIS
+
+UTF-8 = UTF8
+
+Shift_JIS = SJIS
+MS_Kanji = SJIS
+csShiftJIS = SJIS
+
+EUC-JP = EUC_JP
+csEUCPkdFmtJapanese = EUC_JP
+Extended_UNIX_Code_Packed_Format_for_Japanese = EUC_JP
+
+csBig5 = Big5
1
0
[Buix-commits] r1434 - in guix/trunk/guix-test: . src/main/java/org/nuiton/guix src/main/java/org/nuiton/guix/demo
by kmorin@users.labs.libre-entreprise.org 19 May '09
by kmorin@users.labs.libre-entreprise.org 19 May '09
19 May '09
Author: kmorin
Date: 2009-05-19 08:39:27 +0000 (Tue, 19 May 2009)
New Revision: 1434
Added:
guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo.java
guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo2.java
Modified:
guix/trunk/guix-test/pom.xml
guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.css
guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.guix
Log:
Modified: guix/trunk/guix-test/pom.xml
===================================================================
--- guix/trunk/guix-test/pom.xml 2009-05-19 08:39:17 UTC (rev 1433)
+++ guix/trunk/guix-test/pom.xml 2009-05-19 08:39:27 UTC (rev 1434)
@@ -25,6 +25,11 @@
<artifactId>spring-beans</artifactId>
<version>2.0.5</version>
</dependency>
+ <dependency>
+ <groupId>org.jdesktop</groupId>
+ <artifactId>beansbinding</artifactId>
+ <version>1.2.1</version>
+ </dependency>
</dependencies>
@@ -61,7 +66,7 @@
<guixFilesDir>/home/kevin/Workspaces/NetBeansProjects/guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/</guixFilesDir>
<targetDirectory>/home/kevin/Workspaces/NetBeansProjects/guix/trunk/guix-test/target/generatedFiles/</targetDirectory>
<rootPackage>org.nuiton.guix</rootPackage>
- <mainClass>org.nuiton.guix.GuixDemo2</mainClass>
+ <mainClass>org.nuiton.guix.GuixDemo</mainClass>
</configuration>
<executions>
<execution>
Added: guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo.java
===================================================================
--- guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo.java (rev 0)
+++ guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo.java 2009-05-19 08:39:27 UTC (rev 1434)
@@ -0,0 +1,144 @@
+package org.nuiton.guix;
+
+import javax.swing.JPanel;
+import javax.swing.JTextField;
+import javax.swing.JLabel;
+import org.nuiton.guix.GuixDemo2;
+import javax.swing.*;
+import java.awt.*;
+
+public class GuixDemo extends javax.swing.JFrame {
+ private org.jdesktop.beansbinding.BindingGroup bindingGroup;
+ private GuixDemo2 gd2;
+ private JLabel label;
+ private JPanel panel;
+ private JTextField textfield;
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- Statics methods --------------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public static void main(String[] args) {
+ SwingUtilities.invokeLater(new Runnable() {public void run() {GuixDemo main = new GuixDemo();
+ main.pack();
+ main.setVisible(true);}});
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- Constructors -----------------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public GuixDemo() {
+ initialize();
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- public acessor methods -------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public org.jdesktop.beansbinding.BindingGroup getBindingGroup() {
+ return bindingGroup;
+ }
+
+ public GuixDemo2 getGd2() {
+ return gd2;
+ }
+
+ public JLabel getLabel() {
+ return label;
+ }
+
+ public JPanel getPanel() {
+ return panel;
+ }
+
+ public JTextField getTextfield() {
+ return textfield;
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- public mutator methods -------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public void setBindingGroup(org.jdesktop.beansbinding.BindingGroup newValue) {
+ this.bindingGroup = newValue;
+ }
+
+ public void setGd2(GuixDemo2 newValue) {
+ this.gd2 = newValue;
+ }
+
+ public void setLabel(JLabel newValue) {
+ this.label = newValue;
+ }
+
+ public void setPanel(JPanel newValue) {
+ this.panel = newValue;
+ }
+
+ public void setTextfield(JTextField newValue) {
+ this.textfield = newValue;
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- public mutator methods -------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public void createComponents() {
+ this.setLayout(new FlowLayout());
+ createPanel();
+ createTextfield();
+ createLabel();
+ createGd2();
+ }
+
+ public void initComponents() {
+ this.setTitle("JAXX Demo");
+ this.setSize(300,200);
+ this.add(panel);
+ panel.add(textfield);
+ panel.add(label);
+ this.add(gd2);
+ }
+
+ public void initDataBinding() {
+ bindingGroup = new org.jdesktop.beansbinding.BindingGroup();
+ bindingGroup.addBinding(
+ org.jdesktop.beansbinding.Bindings.createAutoBinding(
+ org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ,this,org.jdesktop.beansbinding.ELProperty.create("${gd2.button.selected}"),textfield,org.jdesktop.beansbinding.BeanProperty.create("enabled")));
+ bindingGroup.bind();
+ bindingGroup.addBinding(
+ org.jdesktop.beansbinding.Bindings.createAutoBinding(
+ org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ,this,org.jdesktop.beansbinding.ELProperty.create("${textfield.text}"),label,org.jdesktop.beansbinding.BeanProperty.create("text")));
+ bindingGroup.bind();
+ }
+
+ public void initialize() {
+ createComponents();
+ initComponents();
+ initDataBinding();
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- ui creation methods ----------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ private void createGd2() {
+ gd2 = new GuixDemo2();
+ }
+
+ private void createLabel() {
+ label = new JLabel();
+ label.setForeground(Color.BLUE);
+
+ }
+
+ private void createPanel() {
+ panel = new JPanel();
+ }
+
+ private void createTextfield() {
+ textfield = new JTextField("test");
+ }
+
+}
\ No newline at end of file
Added: guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo2.java
===================================================================
--- guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo2.java (rev 0)
+++ guix/trunk/guix-test/src/main/java/org/nuiton/guix/GuixDemo2.java 2009-05-19 08:39:27 UTC (rev 1434)
@@ -0,0 +1,76 @@
+package org.nuiton.guix;
+
+import javax.swing.JToggleButton;
+import javax.swing.*;
+import java.awt.*;
+
+public class GuixDemo2 extends javax.swing.JPanel {
+ private org.jdesktop.beansbinding.BindingGroup bindingGroup;
+ private JToggleButton button;
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- Constructors -----------------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public GuixDemo2() {
+ initialize();
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- public acessor methods -------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public org.jdesktop.beansbinding.BindingGroup getBindingGroup() {
+ return bindingGroup;
+ }
+
+ public JToggleButton getButton() {
+ return button;
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- public mutator methods -------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public void setBindingGroup(org.jdesktop.beansbinding.BindingGroup newValue) {
+ this.bindingGroup = newValue;
+ }
+
+ public void setButton(JToggleButton newValue) {
+ this.button = newValue;
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- public mutator methods -------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ public void createComponents() {
+ this.setLayout(new FlowLayout());
+ createButton();
+ }
+
+ public void initComponents() {
+ this.add(button);
+ }
+
+ public void initDataBinding() {
+ bindingGroup = new org.jdesktop.beansbinding.BindingGroup();
+ }
+
+ public void initialize() {
+ createComponents();
+ initComponents();
+ initDataBinding();
+ }
+
+ /*---------------------------------------------------------------------------------*/
+ /*-- ui creation methods ----------------------------------------------------------*/
+ /*---------------------------------------------------------------------------------*/
+
+ private void createButton() {
+ button = new JToggleButton();
+ button.setText("-Push me");
+ button.setSelected(false);
+ }
+
+}
\ No newline at end of file
Modified: guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.css
===================================================================
--- guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.css 2009-05-19 08:39:17 UTC (rev 1433)
+++ guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.css 2009-05-19 08:39:27 UTC (rev 1434)
@@ -1,5 +1,17 @@
-#display:{object . getText( ) . startsWith( "-" )}
+#button:{object . getText( ) . startsWith( "-" )}
{
foreground: red;
-}
+}
+#label
+{
+ background : blue;
+}
+
+
+.bold
+{
+ font : bold;
+ margin-top: 10px;
+}
+
Modified: guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.guix
===================================================================
--- guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.guix 2009-05-19 08:39:17 UTC (rev 1433)
+++ guix/trunk/guix-test/src/main/java/org/nuiton/guix/demo/GuixDemo.guix 2009-05-19 08:39:27 UTC (rev 1434)
@@ -1,152 +1,9 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!-- test javadoc Application -->
-<Application title="JAXX Demo" width='1024' height='800' xmlns:swing='javax.swing.*'>
- <script><![CDATA[
-
-org.codelutin.i18n.I18n.init();
-
-void $afterCompleteSetup() {
- try { jaxx.runtime.SwingUtil.initNimbusLoookAndFeel(); } catch (Exception e) { log.error(e.getMessage(), e); }
- SwingUtilities.invokeLater(new Runnable() {
- @Override
- public void run() {
- int i=0;
- while( i < list.getRowCount()) {
- list.expandRow(i++);
- }
- }
- });
-}
-
-]]></script>
-
- <style><![CDATA[
-#table {
- border: { BorderFactory . createEmptyBorder( 4, 4, 4, 4 )
-}
-
-;
-font-face:
-
-"Trebuchet MS"
-;
-}
-
-#display {
- background: #BCE5AD;
- opaque: true;
- horizontalAlignment: right;
- border: { BorderFactory . createBevelBorder( BevelBorder . LOWERED )
-}
-
-;
-font-size:
-
-22
-;
-font-weight: bold
-
-;
-}
-]]></style>
- <!-- test javadoc $JSplitPane1 -->
- <swing:JSplitPane>
- <!-- JSplitPane dividerLocation='200' -->
- <swing:JScrollPane>
- <swing:JTree id='list' showsRootHandles='true'
- onValueChanged='cardLayout.show(preview, list.getSelectionValue() instanceof DemoPanel ? ((DemoPanel) list.getSelectionValue()).getLabel() : emptyDemo.getLabel())'
- cellRenderer='{new javax.swing.tree.DefaultTreeCellRenderer() {
- public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {
- if (value instanceof DemoPanel)
- value = ((DemoPanel) value).getLabel();
- return super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
- }
- }
- }'>
- <!-- test javadoc $item1 -->
- <item value="Components">
- <item value='Buttons'>
- <item value='{buttonDemo}'/>
- <item value='{checkBoxDemo}'/>
- <item value='{radioButtonDemo}'/>
- <item value='{toggleButtonDemo}'/>
- </item>
-
- <item value='Form elements'>
- <item value='Text'>
- <item value='{passwordFieldDemo}'/>
- <item value='{textFieldDemo}'/>
- <item value='{textAreaDemo}'/>
- </item>
-
- <item value='{comboBoxDemo}'/>
- <item value='{listDemo}'/>
- <item value='{sliderDemo}'/>
- <item value='{spinnerDemo}'/>
- </item>
-
- <item value='Layout components'>
- <item value='{splitPaneDemo}'/>
- </item>
-
- <item value='Menus'>
- <item value='{menuItemDemo}'/>
- <item value='{checkBoxMenuItemDemo}'/>
- <item value='{radioButtonMenuItemDemo}'/>
- </item>
-
- <item value='Windows'>
- <item value='{dialogDemo}'/>
- </item>
-
- <item value='{progressBarDemo}'/>
-
- </item>
-
- <item value='{labelStyleDemo}'/>
-
- <item value='{counterDemo}'/>
- <item value='{calculatorDemo}'/>
-
- <item value='New features'>
- <item value='Validation'>
- <item value='{validationDemo1}'/>
- <item value='{validationDemo2}'/>
- </item>
- <item value='{dataBindingDemo}'/>
- <item value='{boxedDecoratorDemo}'/>
- </item>
- </swing:JTree>
- </swing:JScrollPane>
- <java.awt.CardLayout id='cardLayout'/>
-<script source="scriptFile.script" />
- <Panel id='preview' layout='{cardLayout}'>
- <EmptyDemo id='emptyDemo' constraints='emptyDemo.getLabel()'/>
- <JButtonDemo id='buttonDemo' constraints='buttonDemo.getLabel()'/>
- <JCheckBoxDemo id='checkBoxDemo' constraints='checkBoxDemo.getLabel()'/>
- <JCheckBoxMenuItemDemo id='checkBoxMenuItemDemo' constraints='checkBoxMenuItemDemo.getLabel()'/>
- <JComboBoxDemo id='comboBoxDemo' constraints='comboBoxDemo.getLabel()'/>
- <JDialogDemo id='dialogDemo' constraints='dialogDemo.getLabel()'/>
- <JListDemo id='listDemo' constraints='listDemo.getLabel()'/>
- <JMenuItemDemo id='menuItemDemo' constraints='menuItemDemo.getLabel()'/>
- <JPasswordFieldDemo id='passwordFieldDemo' constraints='passwordFieldDemo.getLabel()'/>
- <JProgressBarDemo id='progressBarDemo' constraints='progressBarDemo.getLabel()'/>
- <JSliderDemo id='sliderDemo' constraints='sliderDemo.getLabel()'/>
- <JSpinnerDemo id='spinnerDemo' constraints='spinnerDemo.getLabel()'/>
- <JSplitPaneDemo id='splitPaneDemo' constraints='splitPaneDemo.getLabel()'/>
- <JRadioButtonDemo id='radioButtonDemo' constraints='radioButtonDemo.getLabel()'/>
- <JRadioButtonMenuItemDemo id='radioButtonMenuItemDemo' constraints='radioButtonMenuItemDemo.getLabel()'/>
- <JToggleButtonDemo id='toggleButtonDemo' constraints='toggleButtonDemo.getLabel()'/>
- <JTextFieldDemo id='textFieldDemo' constraints='textFieldDemo.getLabel()'/>
- <JTextAreaDemo id='textAreaDemo' constraints='textAreaDemo.getLabel()'/>
- <ValidationListDemo id='validationDemo1' constraints='validationDemo1.getLabel()'/>
- <ValidationTableDemo id='validationDemo2' constraints='validationDemo2.getLabel()'/>
- <BeanDataBindingDemo id='dataBindingDemo' constraints='dataBindingDemo.getLabel()'/>
- <LabelStyleDemo id='labelStyleDemo' constraints='labelStyleDemo.getLabel()'/>
- <CounterDemo id='counterDemo' constraints='counterDemo.getLabel()'/>
- <CalculatorDemo id='calculatorDemo' constraints='calculatorDemo.getLabel()'/>
- <BoxedDecoratorDemo id='boxedDecoratorDemo' constraints='boxedDecoratorDemo.getLabel()'/>
- </Panel>
- <style source="JButton.css" />
- </swing:JSplitPane>
-</Application>
+<swing:JFrame title="JAXX Demo" size="300,200" xmlns:swing='javax.swing.*'>
+ <swing:JPanel id="panel">
+ <swing:JTextField id="textfield" constructor='"test"' enabled="{gd2.getButton().isSelected()}" />
+ <swing:JLabel id="label" text="{textfield.getText()}" styleClass="bold" />
+ </swing:JPanel>
+ <GuixDemo2 id="gd2" />
+</swing:JFrame>
1
0