Class EntityReferenceEventImpl
java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
- All Implemented Interfaces:
EntityReference, XMLEvent, XMLStreamConstants, XMLEvent2
-
Field Summary
FieldsFields inherited from class BaseEventImpl
mLocationFields inherited from interface XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
ConstructorsConstructorDescriptionEntityReferenceEventImpl(Location loc, String name) EntityReferenceEventImpl(Location loc, EntityDeclaration decl) -
Method Summary
Methods inherited from class BaseEventImpl
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringMethods inherited from interface XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Field Details
-
mDecl
-
-
Constructor Details
-
EntityReferenceEventImpl
-
EntityReferenceEventImpl
-
-
Method Details
-
getDeclaration
- Specified by:
getDeclarationin interfaceEntityReference
-
getName
- Specified by:
getNamein interfaceEntityReference
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent- Specified by:
getEventTypein classBaseEventImpl
-
isEntityReference
public boolean isEntityReference()- Specified by:
isEntityReferencein interfaceXMLEvent- Overrides:
isEntityReferencein classBaseEventImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Specified by:
writeAsEncodedUnicodein classBaseEventImpl- Throws:
XMLStreamException
-
writeUsing
- Specified by:
writeUsingin interfaceXMLEvent2- Specified by:
writeUsingin classBaseEventImpl- Throws:
XMLStreamException
-
equals
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
-