public class EntityReferenceImpl extends XMLEventImpl implements EntityReference
ATTRIBUTE, 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 |
|---|
EntityReferenceImpl(java.lang.String name,
EntityDeclaration declaration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
EntityDeclaration |
getDeclaration() |
int |
getEventType() |
java.lang.String |
getName() |
void |
writeAsEncodedUnicode(java.io.Writer writer) |
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElementpublic EntityReferenceImpl(java.lang.String name,
EntityDeclaration declaration)
public EntityDeclaration getDeclaration()
getDeclaration in interface EntityReferencepublic java.lang.String getName()
getName in interface EntityReferencepublic int getEventType()
getEventType in interface XMLEventgetEventType in class XMLEventImplpublic void writeAsEncodedUnicode(java.io.Writer writer)
throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class XMLEventImplXMLStreamExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object