com.ctc.wstx.evt
public class WEntityReference extends EntityReferenceEventImpl implements javax.xml.stream.events.EntityReference
mDecl
mLocation
Constructor and Description |
---|
WEntityReference(javax.xml.stream.Location loc,
javax.xml.stream.events.EntityDeclaration decl) |
WEntityReference(javax.xml.stream.Location loc,
java.lang.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).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
equals, getDeclaration, getEventType, hashCode, isEntityReference, writeAsEncodedUnicode, writeUsing
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public WEntityReference(javax.xml.stream.Location loc, javax.xml.stream.events.EntityDeclaration decl)
public WEntityReference(javax.xml.stream.Location loc, java.lang.String name)
public java.lang.String getName()
getName
in interface javax.xml.stream.events.EntityReference
getName
in class EntityReferenceEventImpl