public class EntityReferenceEventImpl extends BaseEventImpl implements javax.xml.stream.events.EntityReference
| Modifier and Type | Field and Description |
|---|---|
protected javax.xml.stream.events.EntityDeclaration |
mDecl |
mLocation| Constructor and Description |
|---|
EntityReferenceEventImpl(javax.xml.stream.Location loc,
javax.xml.stream.events.EntityDeclaration decl) |
EntityReferenceEventImpl(javax.xml.stream.Location loc,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Declared abstract to force redefinition by sub-classes
|
javax.xml.stream.events.EntityDeclaration |
getDeclaration() |
int |
getEventType() |
java.lang.String |
getName() |
int |
hashCode()
Declared abstract to force redefinition by sub-classes
|
boolean |
isEntityReference() |
void |
writeAsEncodedUnicode(java.io.Writer w) |
void |
writeUsing(XMLStreamWriter2 w) |
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringpublic EntityReferenceEventImpl(javax.xml.stream.Location loc,
javax.xml.stream.events.EntityDeclaration decl)
public EntityReferenceEventImpl(javax.xml.stream.Location loc,
java.lang.String name)
public javax.xml.stream.events.EntityDeclaration getDeclaration()
getDeclaration in interface javax.xml.stream.events.EntityReferencepublic java.lang.String getName()
getName in interface javax.xml.stream.events.EntityReferencepublic int getEventType()
getEventType in interface javax.xml.stream.events.XMLEventgetEventType in class BaseEventImplpublic boolean isEntityReference()
isEntityReference in interface javax.xml.stream.events.XMLEventisEntityReference in class BaseEventImplpublic void writeAsEncodedUnicode(java.io.Writer w)
throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEventwriteAsEncodedUnicode in class BaseEventImpljavax.xml.stream.XMLStreamExceptionpublic void writeUsing(XMLStreamWriter2 w) throws javax.xml.stream.XMLStreamException
writeUsing in interface XMLEvent2writeUsing in class BaseEventImpljavax.xml.stream.XMLStreamExceptionpublic boolean equals(java.lang.Object o)
BaseEventImplequals in class BaseEventImplpublic int hashCode()
BaseEventImplhashCode in class BaseEventImpl