public class EntityReferenceEvent extends DummyEvent implements javax.xml.stream.events.EntityReference
fLocation| Constructor and Description |
|---|
EntityReferenceEvent() |
EntityReferenceEvent(java.lang.String entityName,
javax.xml.stream.events.EntityDeclaration entityDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.stream.events.EntityDeclaration |
getDeclaration() |
java.lang.String |
getName() |
protected void |
init() |
java.lang.String |
toString() |
protected void |
writeAsEncodedUnicodeEx(java.io.Writer writer)
Helper method in order to expose IOException.
|
asCharacters, asEndElement, asStartElement, charEncode, getEventType, getLocation, getSchemaType, isAttribute, isCharacterData, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, 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 entityName,
javax.xml.stream.events.EntityDeclaration entityDeclaration)
public java.lang.String getName()
getName in interface javax.xml.stream.events.EntityReferencepublic java.lang.String toString()
toString in class java.lang.Objectprotected void writeAsEncodedUnicodeEx(java.io.Writer writer)
throws java.io.IOException
DummyEventwriteAsEncodedUnicodeEx in class DummyEventwriter - The writer that will output the datajava.io.IOException - if there is an IO errorpublic javax.xml.stream.events.EntityDeclaration getDeclaration()
getDeclaration in interface javax.xml.stream.events.EntityReferenceprotected void init()
Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.