public class EntityDeclarationEvent extends AbstractXMLEvent implements EntityDeclaration
EntityDeclaration event implementation.| Modifier and Type | Field and Description |
|---|---|
protected String |
baseURI
The entity base URI, or
null if this isn't an external entity |
protected String |
name
The entity name.
|
protected String |
notationName
The optional notation name.
|
protected String |
publicId
The public id, or
null if this isn't an external entity |
protected String |
replacementText
The replacement text, or
null if this isn't an internal
entity. |
protected String |
systemId
The system id, or
null if this isn't an external entity. |
location, schemaTypeATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
EntityDeclarationEvent(EntityDeclaration that) |
EntityDeclarationEvent(String name,
String replacementText,
Location location) |
EntityDeclarationEvent(String name,
String replacementText,
String notationName,
Location location) |
EntityDeclarationEvent(String name,
String publicId,
String systemId,
String baseURI,
String notationName,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseURI() |
int |
getEventType()
|
String |
getName() |
String |
getNotationName() |
String |
getPublicId() |
String |
getReplacementText() |
String |
getSystemId() |
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEventequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected String name
protected String replacementText
null if this isn't an internal
entity.protected String baseURI
null if this isn't an external entityprotected String publicId
null if this isn't an external entityprotected String systemId
null if this isn't an external entity.protected String notationName
public EntityDeclarationEvent(String name, String replacementText, Location location)
public EntityDeclarationEvent(String name, String replacementText, String notationName, Location location)
public EntityDeclarationEvent(String name, String publicId, String systemId, String baseURI, String notationName, Location location)
public EntityDeclarationEvent(EntityDeclaration that)
public int getEventType()
getEventType in interface XMLEventpublic String getBaseURI()
getBaseURI in interface EntityDeclarationpublic String getName()
getName in interface EntityDeclarationpublic String getNotationName()
getNotationName in interface EntityDeclarationpublic String getPublicId()
getPublicId in interface EntityDeclarationpublic String getReplacementText()
getReplacementText in interface EntityDeclarationpublic String getSystemId()
getSystemId in interface EntityDeclarationCopyright © 2021. All rights reserved.