1 16 17 package org.apache.xerces.impl.dtd; 18 19 24 public class XMLEntityDecl { 25 26 30 31 public String name; 32 33 34 public String publicId; 35 36 37 public String systemId; 38 39 40 public String baseSystemId; 41 42 43 public String notation; 44 45 46 public boolean isPE; 47 48 49 50 public boolean inExternal; 51 52 53 public String value; 54 55 59 70 public void setValues(String name, String publicId, String systemId, 71 String baseSystemId, String notation, 72 boolean isPE, boolean inExternal) { 73 setValues(name, publicId, systemId, baseSystemId, notation, null, isPE, inExternal); 74 } 75 76 88 public void setValues(String name, String publicId, String systemId, 89 String baseSystemId, String notation, 90 String value, boolean isPE, boolean inExternal) { 91 this.name = name; 92 this.publicId = publicId; 93 this.systemId = systemId; 94 this.baseSystemId = baseSystemId; 95 this.notation = notation; 96 this.value = value; 97 this.isPE = isPE; 98 this.inExternal = inExternal; 99 } 101 104 public void clear() { 105 this.name = null; 106 this.publicId = null; 107 this.systemId = null; 108 this.baseSystemId = null; 109 this.notation = null; 110 this.value = null; 111 this.isPE = false; 112 this.inExternal = false; 113 114 } 116 } | Popular Tags |