You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/11/01 04:07:11 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/validation DatatypeValidator.java
jeffreyr 00/10/31 19:07:10
Modified: java/src/org/apache/xerces/impl/validation Tag: xerces_j_2
DatatypeValidator.java
Log:
Update StringValidator to October 23 CR datatypes spec
Revision Changes Path
No revision
No revision
1.1.2.4 +15 -10 xml-xerces/java/src/org/apache/xerces/impl/validation/Attic/DatatypeValidator.java
Index: DatatypeValidator.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/validation/Attic/DatatypeValidator.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- DatatypeValidator.java 2000/10/12 21:43:58 1.1.2.3
+++ DatatypeValidator.java 2000/11/01 03:07:09 1.1.2.4
@@ -61,7 +61,7 @@
/**
* @author Stubs generated by DesignDoc on Mon Sep 11 11:10:57 PDT 2000
- * @version $Id: DatatypeValidator.java,v 1.1.2.3 2000/10/12 21:43:58 jeffreyr Exp $
+ * @version $Id: DatatypeValidator.java,v 1.1.2.4 2000/11/01 03:07:09 jeffreyr Exp $
*/
public interface DatatypeValidator {
//
@@ -72,16 +72,21 @@
public static final int FACET_MAXLENGTH = 1<<2;
public static final int FACET_PATTERN = 1<<3;
public static final int FACET_ENUMERATION = 1<<4;
- public static final int FACET_MAXINCLUSIVE = 1<<5;
- public static final int FACET_MAXEXCLUSIVE = 1<<6;
- public static final int FACET_MININCLUSIVE = 1<<7;
- public static final int FACET_MINEXCLUSIVE = 1<<8;
- public static final int FACET_PRECISSION = 1<<9;
- public static final int FACET_SCALE = 1<<10;
- public static final int FACET_ENCODING = 1<<11;
- public static final int FACET_DURATION = 1<<12;
- public static final int FACET_PERIOD = 1<<13;
+ public static final int FACET_WHITESPACE = 1<<5;
+ public static final int FACET_MAXINCLUSIVE = 1<<6;
+ public static final int FACET_MAXEXCLUSIVE = 1<<7;
+ public static final int FACET_MININCLUSIVE = 1<<8;
+ public static final int FACET_MINEXCLUSIVE = 1<<9;
+ public static final int FACET_PRECISSION = 1<<10;
+ public static final int FACET_SCALE = 1<<11;
+ public static final int FACET_ENCODING = 1<<12;
+ public static final int FACET_DURATION = 1<<13;
+ public static final int FACET_PERIOD = 1<<14;
+ public static final short WHITESPACE_NONE =0;
+ public static final short WHITESPACE_PRESERVE =1;
+ public static final short WHITESPACE_REPLACE =2;
+ public static final short WHITESPACE_COLLAPSE =3;
//
// Methods