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, writeUsingaddHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclarationasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic WEntityReference(Location loc, EntityDeclaration decl)
public String getName()
getName in interface EntityReferencegetName in class org.codehaus.stax2.ri.evt.EntityReferenceEventImplCopyright © 2023 FasterXML. All rights reserved.