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