You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by er...@locus.apache.org on 2000/05/02 01:46:55 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/validators/common XMLAttributeDecl.java

ericye      00/05/01 16:46:55

  Modified:    java/src/org/apache/xerces/validators/common Tag: schemawork
                        XMLAttributeDecl.java
  Log:
  add attr type field --ericye
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +7 -1      xml-xerces/java/src/org/apache/xerces/validators/common/Attic/XMLAttributeDecl.java
  
  Index: XMLAttributeDecl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/common/Attic/XMLAttributeDecl.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- XMLAttributeDecl.java	2000/04/29 18:16:38	1.1.2.2
  +++ XMLAttributeDecl.java	2000/05/01 23:46:54	1.1.2.3
  @@ -61,7 +61,7 @@
   import org.apache.xerces.validators.datatype.DatatypeValidator;
   
   /**
  - * @version $Id: XMLAttributeDecl.java,v 1.1.2.2 2000/04/29 18:16:38 ericye Exp $
  + * @version $Id: XMLAttributeDecl.java,v 1.1.2.3 2000/05/01 23:46:54 ericye Exp $
    */
   public class XMLAttributeDecl {
   
  @@ -77,6 +77,10 @@
   
       public DatatypeValidator datatypeValidator;
   
  +    // Att types, e.g. ID, IDREF, NOTATION, NMTOKEN, 
  +
  +    public int type;
  +
       // values
   
       public String defaultType;
  @@ -102,11 +106,13 @@
       public void clear() {
           name.clear();
           datatypeValidator = null;
  +	type = -1;
       }
   
       public void setValues(XMLAttributeDecl attributeDecl) {
           name.setValues(attributeDecl.name);
           datatypeValidator = attributeDecl.datatypeValidator;
  +	type = attributeDecl.type;
   	defaultType = attributeDecl.defaultType;
   	defaultValue = attributeDecl.defaultValue;
       }