public class EntityReferenceEvent extends EventBase implements javax.xml.stream.events.EntityReference
_eventType, _locationATTRIBUTE, 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() |
EntityReferenceEvent(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.
|
String |
getName()
The name of the entity
|
protected void |
init() |
void |
setDeclaration(javax.xml.stream.events.EntityDeclaration declaration) |
void |
setName(String name) |
String |
toString() |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic EntityReferenceEvent()
public EntityReferenceEvent(String entityName, javax.xml.stream.events.EntityDeclaration entityDeclaration)
public String getName()
getName in interface javax.xml.stream.events.EntityReferencepublic javax.xml.stream.events.EntityDeclaration getDeclaration()
getDeclaration in interface javax.xml.stream.events.EntityReferencepublic void setName(String name)
public void setDeclaration(javax.xml.stream.events.EntityDeclaration declaration)
protected void init()
Copyright © 2012 Oracle Corpration. All Rights Reserved.