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/10/06 18:54:06 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/validation XMLSimpleType.java

jeffreyr    00/10/06 09:54:06

  Modified:    java/src/org/apache/xerces/impl/validation Tag: xerces_j_2
                        XMLSimpleType.java
  Log:
  set the rest of this struct
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +15 -7     xml-xerces/java/src/org/apache/xerces/impl/validation/Attic/XMLSimpleType.java
  
  Index: XMLSimpleType.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/validation/Attic/XMLSimpleType.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- XMLSimpleType.java	2000/10/06 16:26:22	1.1.2.3
  +++ XMLSimpleType.java	2000/10/06 16:54:05	1.1.2.4
  @@ -59,7 +59,7 @@
   
   /**
    * @author Stubs generated by DesignDoc on Wed Jun 07 11:58:44 PDT 2000
  - * @version $Id: XMLSimpleType.java,v 1.1.2.3 2000/10/06 16:26:22 jeffreyr Exp $
  + * @version $Id: XMLSimpleType.java,v 1.1.2.4 2000/10/06 16:54:05 jeffreyr Exp $
    */
   public class XMLSimpleType {
   
  @@ -144,18 +144,26 @@
        * @param datatypeValidator 
        */
       public void setValues(short type, String name, String[] enumeration, boolean list, short defaultType, String defaultValue, DatatypeValidator datatypeValidator) {
  -        this.type = type;
  -        this.name = name;
  -        this.enumeration = enumeration;
  +        this.type              = type;
  +        this.name              = name;
  +        this.enumeration       = enumeration;
  +        this.list              = list;
  +        this.defaultType       = defaultType;
  +        this.defaultValue      = defaultValue;
  +        this.datatypeValidator = datatypeValidator;
       } // setValues
   
       /**
        * clear
        */
       public void clear() {
  -        this.type = -1;
  -        this.name = null;
  -        this.enumeration = null;
  +        this.type              = -1;
  +        this.name              = null;
  +        this.enumeration       = null;
  +        this.list              = false;
  +        this.defaultType       = -1;
  +        this.defaultValue      = null;
  +        this.datatypeValidator = null;
       } // clear
   
   } // class XMLSimpleType