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, toString
public 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.EntityReference
public java.lang.String getName()
getName
in interface javax.xml.stream.events.EntityReference
public int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
getEventType
in class BaseEventImpl
public boolean isEntityReference()
isEntityReference
in interface javax.xml.stream.events.XMLEvent
isEntityReference
in class BaseEventImpl
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
writeAsEncodedUnicode
in class BaseEventImpl
javax.xml.stream.XMLStreamException
public void writeUsing(XMLStreamWriter2 w) throws javax.xml.stream.XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class BaseEventImpl
javax.xml.stream.XMLStreamException
public boolean equals(java.lang.Object o)
BaseEventImpl
equals
in class BaseEventImpl
public int hashCode()
BaseEventImpl
hashCode
in class BaseEventImpl