public class EntityReferenceEvent extends EventBase implements javax.xml.stream.events.EntityReference
Modifier and Type | Field and Description |
---|---|
private javax.xml.stream.events.EntityDeclaration |
_entityDeclaration |
private java.lang.String |
_entityName |
_eventType, _location
Constructor and Description |
---|
EntityReferenceEvent() |
EntityReferenceEvent(java.lang.String entityName,
javax.xml.stream.events.EntityDeclaration entityDeclaration) |
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.events.EntityDeclaration |
getDeclaration()
Return the declaration of this entity.
|
java.lang.String |
getName()
The name of the entity
|
protected void |
init() |
void |
setDeclaration(javax.xml.stream.events.EntityDeclaration declaration) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
private javax.xml.stream.events.EntityDeclaration _entityDeclaration
private java.lang.String _entityName
public EntityReferenceEvent()
public EntityReferenceEvent(java.lang.String entityName, javax.xml.stream.events.EntityDeclaration entityDeclaration)
public java.lang.String getName()
getName
in interface javax.xml.stream.events.EntityReference
public javax.xml.stream.events.EntityDeclaration getDeclaration()
getDeclaration
in interface javax.xml.stream.events.EntityReference
public void setName(java.lang.String name)
public void setDeclaration(javax.xml.stream.events.EntityDeclaration declaration)
public java.lang.String toString()
toString
in class java.lang.Object
protected void init()