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, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
protected 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.NotationDeclaration
getName
in interface javax.xml.stream.events.NotationDeclaration
public java.lang.String getPublicId()
javax.xml.stream.Location
getPublicId
in interface javax.xml.stream.events.NotationDeclaration
getPublicId
in interface javax.xml.stream.Location
getPublicId
in class BaseEvent
public java.lang.String getSystemId()
javax.xml.stream.Location
getSystemId
in interface javax.xml.stream.events.NotationDeclaration
getSystemId
in interface javax.xml.stream.Location
getSystemId
in class BaseEvent
protected void doWriteAsEncodedUnicode(java.io.Writer writer) throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode
in class BaseEvent
java.io.IOException