EntityReference, XMLEvent, XMLStreamConstants, XMLEvent2public class EntityReferenceEventImpl extends BaseEventImpl implements EntityReference
| Modifier and Type | Field | Description |
|---|---|---|
protected EntityDeclaration |
mDecl |
mLocationATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor | Description |
|---|---|
EntityReferenceEventImpl(Location loc,
String name) |
|
EntityReferenceEventImpl(Location loc,
EntityDeclaration decl) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
Declared abstract to force redefinition by sub-classes
|
EntityDeclaration |
getDeclaration() |
|
int |
getEventType() |
|
String |
getName() |
|
int |
hashCode() |
Declared abstract to force redefinition by sub-classes
|
boolean |
isEntityReference() |
|
void |
writeAsEncodedUnicode(Writer w) |
|
void |
writeUsing(XMLStreamWriter2 w) |
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElementprotected final EntityDeclaration mDecl
public EntityReferenceEventImpl(Location loc, EntityDeclaration decl)
public EntityDeclaration getDeclaration()
getDeclaration in interface EntityReferencepublic String getName()
getName in interface EntityReferencepublic int getEventType()
getEventType in interface XMLEventgetEventType in class BaseEventImplpublic boolean isEntityReference()
isEntityReference in interface XMLEventisEntityReference in class BaseEventImplpublic void writeAsEncodedUnicode(Writer w) throws XMLStreamException
writeAsEncodedUnicode in interface XMLEventwriteAsEncodedUnicode in class BaseEventImplXMLStreamExceptionpublic void writeUsing(XMLStreamWriter2 w) throws XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImplXMLStreamExceptionpublic boolean equals(Object o)
BaseEventImplequals in class BaseEventImplpublic int hashCode()
BaseEventImplhashCode in class BaseEventImplCopyright © 2019 fasterxml.com. All rights reserved.