EntityReference, XMLEvent, XMLStreamConstantspublic 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 | Description |
|---|---|
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).
|
WEntityReference(Location loc,
EntityDeclaration decl) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getName() |
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toStringgetDeclarationequals, getDeclaration, getEventType, hashCode, isEntityReference, writeAsEncodedUnicode, writeUsingclone, finalize, getClass, notify, notifyAll, wait, wait, waitasCharacters, 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 © 2019 FasterXML. All rights reserved.