Package org.codehaus.stax2.ri.evt
Class EntityReferenceEventImpl
- java.lang.Object
-
- org.codehaus.stax2.ri.evt.BaseEventImpl
-
- org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
-
- All Implemented Interfaces:
javax.xml.stream.events.EntityReference,javax.xml.stream.events.XMLEvent,javax.xml.stream.XMLStreamConstants,XMLEvent2
public class EntityReferenceEventImpl extends BaseEventImpl implements javax.xml.stream.events.EntityReference
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.stream.events.EntityDeclarationmDecl-
Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
mLocation
-
-
Constructor Summary
Constructors Constructor Description EntityReferenceEventImpl(javax.xml.stream.Location loc, java.lang.String name)EntityReferenceEventImpl(javax.xml.stream.Location loc, javax.xml.stream.events.EntityDeclaration decl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Declared abstract to force redefinition by sub-classesjavax.xml.stream.events.EntityDeclarationgetDeclaration()intgetEventType()java.lang.StringgetName()inthashCode()Declared abstract to force redefinition by sub-classesbooleanisEntityReference()voidwriteAsEncodedUnicode(java.io.Writer w)voidwriteUsing(XMLStreamWriter2 w)-
Methods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
-
-
-
-
Method Detail
-
getDeclaration
public javax.xml.stream.events.EntityDeclaration getDeclaration()
- Specified by:
getDeclarationin interfacejavax.xml.stream.events.EntityReference
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacejavax.xml.stream.events.EntityReference
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfacejavax.xml.stream.events.XMLEvent- Specified by:
getEventTypein classBaseEventImpl
-
isEntityReference
public boolean isEntityReference()
- Specified by:
isEntityReferencein interfacejavax.xml.stream.events.XMLEvent- Overrides:
isEntityReferencein classBaseEventImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException- Specified by:
writeAsEncodedUnicodein interfacejavax.xml.stream.events.XMLEvent- Specified by:
writeAsEncodedUnicodein classBaseEventImpl- Throws:
javax.xml.stream.XMLStreamException
-
writeUsing
public void writeUsing(XMLStreamWriter2 w) throws javax.xml.stream.XMLStreamException
- Specified by:
writeUsingin interfaceXMLEvent2- Specified by:
writeUsingin classBaseEventImpl- Throws:
javax.xml.stream.XMLStreamException
-
equals
public boolean equals(java.lang.Object o)
Description copied from class:BaseEventImplDeclared abstract to force redefinition by sub-classes- Specified by:
equalsin classBaseEventImpl
-
hashCode
public int hashCode()
Description copied from class:BaseEventImplDeclared abstract to force redefinition by sub-classes- Specified by:
hashCodein classBaseEventImpl
-
-