javanet.staxutils.events
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, schemaType
ATTRIBUTE, 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, writeEvent
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
protected 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 XMLEvent
public String getBaseURI()
getBaseURI
in interface EntityDeclaration
public String getName()
getName
in interface EntityDeclaration
public String getNotationName()
getNotationName
in interface EntityDeclaration
public String getPublicId()
getPublicId
in interface EntityDeclaration
public String getReplacementText()
getReplacementText
in interface EntityDeclaration
public String getSystemId()
getSystemId
in interface EntityDeclaration