Path: blob/jdk8u272-b10-aarch32-20201026/jaxp/src/javax/xml/stream/events/EntityDeclaration.java
48792 views
/*1* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.2*3* This code is free software; you can redistribute it and/or modify it4* under the terms of the GNU General Public License version 2 only, as5* published by the Free Software Foundation. Oracle designates this6* particular file as subject to the "Classpath" exception as provided7* by Oracle in the LICENSE file that accompanied this code.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*/2324/*25* Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.26*/2728package javax.xml.stream.events;29/**30* An interface for handling Entity Declarations31*32* This interface is used to record and report unparsed entity declarations.33*34* @version 1.035* @author Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.36* @since 1.637*/38public interface EntityDeclaration extends XMLEvent {3940/**41* The entity's public identifier, or null if none was given42* @return the public ID for this declaration or null43*/44String getPublicId();4546/**47* The entity's system identifier.48* @return the system ID for this declaration or null49*/50String getSystemId();5152/**53* The entity's name54* @return the name, may not be null55*/56String getName();5758/**59* The name of the associated notation.60* @return the notation name61*/62String getNotationName();6364/**65* The replacement text of the entity.66* This method will only return non-null67* if this is an internal entity.68* @return null or the replacment text69*/70String getReplacementText();7172/**73* Get the base URI for this reference74* or null if this information is not available75* @return the base URI or null76*/77String getBaseURI();7879}808182