2
* Licensed to the Apache Software Foundation (ASF) under one or more
3
* contributor license agreements. See the NOTICE file distributed with
4
* this work for additional information regarding copyright ownership.
5
* The ASF licenses this file to You under the Apache License, Version 2.0
6
* (the "License"); you may not use this file except in compliance with
7
* the License. You may obtain a copy of the License at
9
* http://www.apache.org/licenses/LICENSE-2.0
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
18
package org.apache.xerces.impl.dtd;
23
* @version $Id: XMLEntityDecl.java,v 1.2 2009/12/10 03:18:34 matthewoliver Exp $
25
public class XMLEntityDecl {
35
public String publicId;
38
public String systemId;
41
public String baseSystemId;
44
public String notation;
50
/** <strong>Note:</strong> flag of where the entity is defined, not whether it is a external entity */
51
public boolean inExternal;
71
public void setValues(String name, String publicId, String systemId,
72
String baseSystemId, String notation,
73
boolean isPE, boolean inExternal) {
74
setValues(name, publicId, systemId, baseSystemId, notation, null, isPE, inExternal);
89
public void setValues(String name, String publicId, String systemId,
90
String baseSystemId, String notation,
91
String value, boolean isPE, boolean inExternal) {
93
this.publicId = publicId;
94
this.systemId = systemId;
95
this.baseSystemId = baseSystemId;
96
this.notation = notation;
99
this.inExternal = inExternal;
100
} // setValues(String,String,String,String,String,boolean,boolean)
105
public void clear() {
107
this.publicId = null;
108
this.systemId = null;
109
this.baseSystemId = null;
110
this.notation = null;
113
this.inExternal = false;
117
} // class XMLEntityDecl