|
|
|
|
|
|
|
*/ |
|
/* |
|
* 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 |
|
// |
|
|
|
|
|
public String name; |
|
|
|
|
|
public String publicId; |
|
|
|
|
|
public String systemId; |
|
|
|
|
|
public String baseSystemId; |
|
|
|
|
|
public String notation; |
|
|
|
|
|
public boolean isPE; |
|
|
|
/** inExternal */ |
|
|
|
public boolean inExternal; |
|
|
|
|
|
public String value; |
|
|
|
// |
|
// Methods |
|
// |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
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); |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
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) |
|
|
|
|
|
|
|
*/ |
|
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 |