public interface EntityDeclaration extends XMLEvent
An interface for handling Entity Declarations This interface is used to record and report unparsed entity declarations.
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
String getPublicId()
The entity's public identifier, or null if none was given
String getSystemId()
The entity's system identifier.
String getName()
The entity's name
String getNotationName()
The name of the associated notation.
String getReplacementText()
The replacement text of the entity. This method will only return non-null if this is an internal entity.
String getBaseURI()
Get the base URI for this reference or null if this information is not available
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.