javax.xml.stream.events.EntityReference, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstantspublic class EntityReferenceEvent extends BaseEvent implements javax.xml.stream.events.EntityReference
| Constructor | Description |
|---|---|
EntityReferenceEvent() |
|
EntityReferenceEvent(java.lang.String name,
javax.xml.stream.events.EntityDeclaration ed) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer) |
Template method to be implemented by sub-classes.
|
java.lang.String |
getBaseURI() |
|
javax.xml.stream.events.EntityDeclaration |
getDeclaration() |
|
java.lang.String |
getName() |
|
java.lang.String |
getPublicId() |
|
java.lang.String |
getReplacementText() |
|
java.lang.String |
getSystemId() |
|
protected void |
init() |
|
void |
setName(java.lang.String name) |
|
void |
setReplacementText(java.lang.String text) |
|
java.lang.String |
toString() |
toString() overridden to output more information than what the
default implementation from base event class outputs.
|
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getSchemaType, getSourceName, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic EntityReferenceEvent()
public EntityReferenceEvent(java.lang.String name,
javax.xml.stream.events.EntityDeclaration ed)
public java.lang.String getReplacementText()
public java.lang.String getName()
getName in interface javax.xml.stream.events.EntityReferencepublic void setName(java.lang.String name)
public void setReplacementText(java.lang.String text)
public java.lang.String getBaseURI()
public java.lang.String getPublicId()
getPublicId in class BaseEventpublic java.lang.String getSystemId()
getSystemId in class BaseEventpublic javax.xml.stream.events.EntityDeclaration getDeclaration()
getDeclaration in interface javax.xml.stream.events.EntityReferenceprotected void init()
protected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEventdoWriteAsEncodedUnicode in class BaseEventjava.io.IOException