EntityReference
, XMLEvent
, XMLStreamConstants
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 | 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, toString
getDeclaration
equals, getDeclaration, getEventType, hashCode, isEntityReference, writeAsEncodedUnicode, writeUsing
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(Location loc, EntityDeclaration decl)
public String getName()
getName
in interface EntityReference
getName
in class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
Copyright © 2019 FasterXML. All rights reserved.