1 16 17 package org.apache.xerces.impl.dtd; 18 19 import org.apache.xerces.xni.QName; 20 21 26 public class XMLAttributeDecl { 27 28 32 33 public final QName name = new QName(); 34 35 36 public final XMLSimpleType simpleType = new XMLSimpleType(); 37 38 39 public boolean optional; 40 41 45 52 public void setValues(QName name, XMLSimpleType simpleType, boolean optional) { 53 this.name.setValues(name); 54 this.simpleType.setValues(simpleType); 55 this.optional = optional; 56 } 58 61 public void clear() { 62 this.name.clear(); 63 this.simpleType.clear(); 64 this.optional = false; 65 } 67 } | Popular Tags |