public class WEntityReference extends org.codehaus.stax2.ri.evt.EntityReferenceEventImpl implements EntityReference
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
WEntityReference(Location loc,
EntityDeclaration decl) |
WEntityReference(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).
|
Modifier and Type | Method and Description |
---|---|
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
getDeclaration
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public WEntityReference(Location loc, EntityDeclaration decl)
public String getName()
getName
in interface EntityReference
getName
in class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
Copyright © 2018 FasterXML. All rights reserved.