/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.sun.org.apache.xerces.internal.impl.dtd;
/**
*/
public class XMLEntityDecl {
//
// Data
//
name /** name */
public String name;
publicId /** publicId */
public String publicId;
systemId /** systemId */
public String systemId;
baseSystemId /** baseSystemId */
public String baseSystemId;
notation /** notation */
public String notation;
isPE /** isPE */
public boolean isPE;
/** inExternal */
Note: flag of where the entity is defined, not whether it is a external entity /** <strong>Note:</strong> flag of where the entity is defined, not whether it is a external entity */
public boolean inExternal;
Value. /** Value. */
public String value;
//
// Methods
//
setValues
Params: - name –
- publicId –
- systemId –
- baseSystemId –
- notation –
- isPE –
- inExternal –
/**
* setValues
*
* @param name
* @param publicId
* @param systemId
* @param baseSystemId
* @param notation
* @param isPE
* @param inExternal
*/
public void setValues(String name, String publicId, String systemId,
String baseSystemId, String notation,
boolean isPE, boolean inExternal) {
setValues(name, publicId, systemId, baseSystemId, notation, null, isPE, inExternal);
}
setValues
Params: - name –
- publicId –
- systemId –
- baseSystemId –
- value –
- notation –
- isPE –
- inExternal –
/**
* setValues
*
* @param name
* @param publicId
* @param systemId
* @param baseSystemId
* @param value
* @param notation
* @param isPE
* @param inExternal
*/
public void setValues(String name, String publicId, String systemId,
String baseSystemId, String notation,
String value, boolean isPE, boolean inExternal) {
this.name = name;
this.publicId = publicId;
this.systemId = systemId;
this.baseSystemId = baseSystemId;
this.notation = notation;
this.value = value;
this.isPE = isPE;
this.inExternal = inExternal;
} // setValues(String,String,String,String,String,boolean,boolean)
clear
/**
* clear
*/
public void clear() {
this.name = null;
this.publicId = null;
this.systemId = null;
this.baseSystemId = null;
this.notation = null;
this.value = null;
this.isPE = false;
this.inExternal = false;
} // clear
} // class XMLEntityDecl