public class EntityReferenceEvent extends AbstractXMLEvent implements EntityReference
EntityReference event implementation.| Modifier and Type | Field and Description |
|---|---|
protected EntityDeclaration |
declaration
The referenced entity declaration.
|
protected java.lang.String |
name
The referenced entity name.
|
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 |
|---|
EntityReferenceEvent(EntityReference that) |
EntityReferenceEvent(java.lang.String name,
EntityDeclaration declaration) |
EntityReferenceEvent(java.lang.String name,
EntityDeclaration declaration,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
EntityDeclaration |
getDeclaration() |
int |
getEventType()
Returns
XMLStreamConstants.ENTITY_REFERENCE. |
java.lang.String |
getName() |
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 java.lang.String name
protected EntityDeclaration declaration
public EntityReferenceEvent(java.lang.String name,
EntityDeclaration declaration)
public EntityReferenceEvent(java.lang.String name,
EntityDeclaration declaration,
Location location)
public EntityReferenceEvent(EntityReference that)
public EntityDeclaration getDeclaration()
getDeclaration in interface EntityReferencepublic java.lang.String getName()
getName in interface EntityReferencepublic int getEventType()
XMLStreamConstants.ENTITY_REFERENCE.getEventType in interface XMLEvent