javax.xml.stream.events.EntityDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstantspublic class EntityDeclarationEvent extends BaseEvent implements javax.xml.stream.events.EntityDeclaration
EntityDeclaration. Since no external
or unparsed entities are supported (yet?), this is quite simplistic
implementation.| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
name |
|
protected java.lang.String |
replacementText |
| Constructor | Description |
|---|---|
EntityDeclarationEvent(java.lang.String name,
java.lang.String replText) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer) |
Template method to be implemented by sub-classes.
|
java.lang.String |
getBaseURI() |
|
java.lang.String |
getName() |
|
java.lang.String |
getNotationName() |
|
java.lang.String |
getPublicId() |
|
java.lang.String |
getReplacementText() |
|
java.lang.String |
getSystemId() |
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, toString, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodeprotected final java.lang.String name
protected final java.lang.String replacementText
public EntityDeclarationEvent(java.lang.String name,
java.lang.String replText)
public java.lang.String getReplacementText()
getReplacementText in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getName()
getName in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getBaseURI()
getBaseURI in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.stream.events.EntityDeclarationgetPublicId in class BaseEventpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.stream.events.EntityDeclarationgetSystemId in class BaseEventpublic java.lang.String getNotationName()
getNotationName in interface javax.xml.stream.events.EntityDeclarationprotected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEventdoWriteAsEncodedUnicode in class BaseEventjava.io.IOException