Class EntityReferenceEvent
java.lang.Object
com.sun.xml.fastinfoset.stax.events.EventBase
com.sun.xml.fastinfoset.stax.events.EntityReferenceEvent
- All Implemented Interfaces:
EntityReference,XMLEvent,XMLStreamConstants
-
Field Summary
Fields inherited from class com.sun.xml.fastinfoset.stax.events.EventBase
_eventType, _locationFields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
ConstructorsConstructorDescriptionEntityReferenceEvent(String entityName, EntityDeclaration entityDeclaration) -
Method Summary
Modifier and TypeMethodDescriptionReturn the declaration of this entity.getName()The name of the entityprotected voidinit()voidsetDeclaration(EntityDeclaration declaration) voidtoString()Methods inherited from class com.sun.xml.fastinfoset.stax.events.EventBase
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, getSystemId, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Constructor Details
-
EntityReferenceEvent
public EntityReferenceEvent() -
EntityReferenceEvent
-
-
Method Details
-
getName
The name of the entity- Specified by:
getNamein interfaceEntityReference- Returns:
- the entity's name, may not be null
-
getDeclaration
Return the declaration of this entity.- Specified by:
getDeclarationin interfaceEntityReference
-
setName
-
setDeclaration
-
toString
-
init
protected void init()
-