1 57 58 package com.sun.org.apache.xerces.internal.impl.dtd; 59 60 63 public class XMLEntityDecl { 64 65 69 70 public String name; 71 72 73 public String publicId; 74 75 76 public String systemId; 77 78 79 public String baseSystemId; 80 81 82 public String notation; 83 84 85 public boolean isPE; 86 87 88 89 public boolean inExternal; 90 91 92 public String value; 93 94 98 109 public void setValues(String name, String publicId, String systemId, 110 String baseSystemId, String notation, 111 boolean isPE, boolean inExternal) { 112 setValues(name, publicId, systemId, baseSystemId, notation, null, isPE, inExternal); 113 } 114 115 127 public void setValues(String name, String publicId, String systemId, 128 String baseSystemId, String notation, 129 String value, boolean isPE, boolean inExternal) { 130 this.name = name; 131 this.publicId = publicId; 132 this.systemId = systemId; 133 this.baseSystemId = baseSystemId; 134 this.notation = notation; 135 this.value = value; 136 this.isPE = isPE; 137 this.inExternal = inExternal; 138 } 140 143 public void clear() { 144 this.name = null; 145 this.publicId = null; 146 this.systemId = null; 147 this.baseSystemId = null; 148 this.notation = null; 149 this.value = null; 150 this.isPE = false; 151 this.inExternal = false; 152 153 } 155 } | Popular Tags |