public class EntityDeclarationEvent extends AbstractXMLEvent implements EntityDeclaration
EntityDeclaration
event implementation.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
baseURI
The entity base URI, or
null if this isn't an external entity |
protected java.lang.String |
name
The entity name.
|
protected java.lang.String |
notationName
The optional notation name.
|
protected java.lang.String |
publicId
The public id, or
null if this isn't an external entity |
protected java.lang.String |
replacementText
The replacement text, or
null if this isn't an internal entity. |
protected java.lang.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(java.lang.String name,
java.lang.String replacementText,
Location location) |
EntityDeclarationEvent(java.lang.String name,
java.lang.String replacementText,
java.lang.String notationName,
Location location) |
EntityDeclarationEvent(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String baseURI,
java.lang.String notationName,
Location location) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseURI() |
int |
getEventType()
|
java.lang.String |
getName() |
java.lang.String |
getNotationName() |
java.lang.String |
getPublicId() |
java.lang.String |
getReplacementText() |
java.lang.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 java.lang.String name
protected java.lang.String replacementText
null
if this isn't an internal entity.protected java.lang.String baseURI
null
if this isn't an external entityprotected java.lang.String publicId
null
if this isn't an external entityprotected java.lang.String systemId
null
if this isn't an external entity.protected java.lang.String notationName
public EntityDeclarationEvent(java.lang.String name, java.lang.String replacementText, Location location)
public EntityDeclarationEvent(java.lang.String name, java.lang.String replacementText, java.lang.String notationName, Location location)
public EntityDeclarationEvent(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI, java.lang.String notationName, Location location)
public EntityDeclarationEvent(EntityDeclaration that)
public int getEventType()
getEventType
in interface XMLEvent
public java.lang.String getBaseURI()
getBaseURI
in interface EntityDeclaration
public java.lang.String getName()
getName
in interface EntityDeclaration
public java.lang.String getNotationName()
getNotationName
in interface EntityDeclaration
public java.lang.String getPublicId()
getPublicId
in interface EntityDeclaration
public java.lang.String getReplacementText()
getReplacementText
in interface EntityDeclaration
public java.lang.String getSystemId()
getSystemId
in interface EntityDeclaration