public class NotationDeclarationEvent extends BaseEvent implements javax.xml.stream.events.NotationDeclaration
NotationDeclaration.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected java.lang.String |
publicId |
protected java.lang.String |
systemId |
| Constructor and Description |
|---|
NotationDeclarationEvent(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes.
|
java.lang.String |
getName()
The notation name.
|
java.lang.String |
getPublicId()
Returns the public ID of the XML
|
java.lang.String |
getSystemId()
Returns the system ID of the XML
|
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 publicId
protected final java.lang.String systemId
public NotationDeclarationEvent(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
public java.lang.String getName()
javax.xml.stream.events.NotationDeclarationgetName in interface javax.xml.stream.events.NotationDeclarationpublic java.lang.String getPublicId()
javax.xml.stream.LocationgetPublicId in interface javax.xml.stream.events.NotationDeclarationgetPublicId in interface javax.xml.stream.LocationgetPublicId in class BaseEventpublic java.lang.String getSystemId()
javax.xml.stream.LocationgetSystemId in interface javax.xml.stream.events.NotationDeclarationgetSystemId in interface javax.xml.stream.LocationgetSystemId in class BaseEventprotected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEventdoWriteAsEncodedUnicode in class BaseEventjava.io.IOException