1 57 58 package com.sun.org.apache.xerces.internal.impl.dtd; 59 60 import com.sun.org.apache.xerces.internal.xni.QName; 61 62 65 public class XMLAttributeDecl { 66 67 71 72 public final QName name = new QName(); 73 74 75 public final XMLSimpleType simpleType = new XMLSimpleType(); 76 77 78 public boolean optional; 79 80 84 91 public void setValues(QName name, XMLSimpleType simpleType, boolean optional) { 92 this.name.setValues(name); 93 this.simpleType.setValues(simpleType); 94 this.optional = optional; 95 } 97 100 public void clear() { 101 this.name.clear(); 102 this.simpleType.clear(); 103 this.optional = false; 104 } 106 } | Popular Tags |