Class WEntityReference
java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
com.ctc.wstx.evt.WEntityReference
- All Implemented Interfaces:
EntityReference, XMLEvent, XMLStreamConstants, org.codehaus.stax2.evt.XMLEvent2
public class WEntityReference
extends org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
implements EntityReference
We need a slightly specialized version to support concept of
undeclared entities, which can be used in (non-default, non-standard)
mode where undeclared entities are allowed to be handled.
-
Field Summary
FieldsFields inherited from class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
mDeclFields inherited from class org.codehaus.stax2.ri.evt.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
ConstructorsConstructorDescriptionWEntityReference(Location loc, String name) This constructor gets called for undeclared/defined entities: we will still know the name (from the reference), but not how it's defined (since it is not defined).WEntityReference(Location loc, EntityDeclaration decl) -
Method Summary
Methods inherited from class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
equals, getDeclaration, getEventType, hashCode, isEntityReference, writeAsEncodedUnicode, writeUsingMethods 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, toStringMethods inherited from interface EntityReference
getDeclarationMethods inherited from interface XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Field Details
-
mName
-
-
Constructor Details
-
WEntityReference
-
WEntityReference
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceEntityReference- Overrides:
getNamein classorg.codehaus.stax2.ri.evt.EntityReferenceEventImpl
-