W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/src/org/w3c/unicorn/tasklisttree TLTCond.java,1.2,1.3 EnumCondType.java,1.2,1.3

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 16 Sep 2009 12:01:20 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MntCK-0003qE-HE@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree
In directory hutz:/tmp/cvs-serv14750/src/org/w3c/unicorn/tasklisttree

Modified Files:
	TLTCond.java EnumCondType.java 
Log Message:
added new cond type: "parameter"

Index: EnumCondType.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree/EnumCondType.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- EnumCondType.java	28 Aug 2009 12:40:12 -0000	1.2
+++ EnumCondType.java	16 Sep 2009 12:01:18 -0000	1.3
@@ -2,7 +2,7 @@
 
 public enum EnumCondType {
 
-	XPATH("xpath"), MIMETYPE("mimetype");
+	XPATH("xpath"), MIMETYPE("mimetype"), PARAMETER("parameter");
 
 	private final String sValue;
 

Index: TLTCond.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree/TLTCond.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- TLTCond.java	28 Aug 2009 12:40:12 -0000	1.2
+++ TLTCond.java	16 Sep 2009 12:01:18 -0000	1.3
@@ -22,6 +22,8 @@
 	private boolean result;
 
 	private String value;
+	
+	private String parameter;
 
 	private static final Log logger = LogFactory.getLog(TLTCond.class);
 
@@ -158,6 +160,14 @@
 		return value;
 	}
 
+	public String getParameter() {
+		return parameter;
+	}
+
+	public void setParameter(String parameter) {
+		this.parameter = parameter;
+	}
+
 	@Override
 	public String toString() {
 		if (this.observer != null) {
Received on Wednesday, 16 September 2009 12:01:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT