- From: Florent Batard via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 03 Sep 2008 14:33:58 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3/unicorn/tasklist/impl
In directory hutz:/tmp/cvs-serv3426/org/w3/unicorn/tasklist/impl
Modified Files:
IfTypeImpl.java
Log Message:
A new schema again
Index: IfTypeImpl.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3/unicorn/tasklist/impl/IfTypeImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- IfTypeImpl.java 24 Jul 2008 11:44:28 -0000 1.2
+++ IfTypeImpl.java 3 Sep 2008 14:33:56 -0000 1.3
@@ -96,6 +96,18 @@
}
/**
+ * True if has "else" element
+ */
+ public boolean isSetElse()
+ {
+ synchronized (monitor())
+ {
+ check_orphaned();
+ return get_store().count_elements(ELSE$2) != 0;
+ }
+ }
+
+ /**
* Sets the "else" element
*/
public void setElse(org.w3.unicorn.tasklist.ThenType xelse)
@@ -128,6 +140,18 @@
}
/**
+ * Unsets the "else" element
+ */
+ public void unsetElse()
+ {
+ synchronized (monitor())
+ {
+ check_orphaned();
+ get_store().remove_element(ELSE$2, 0);
+ }
+ }
+
+ /**
* Gets the "test" attribute
*/
public java.lang.String getTest()
Received on Wednesday, 3 September 2008 14:34:31 UTC