com.bea.xml.stream.events

Class NotationDeclarationEvent

Implemented Interfaces:
javax.xml.stream.Location, javax.xml.stream.events.NotationDeclaration, javax.xml.stream.events.XMLEvent

public class NotationDeclarationEvent
extends BaseEvent
implements javax.xml.stream.events.NotationDeclaration

Simple implementation of NotationDeclaration.
Author:
Tatu Saloranta

Field Summary

protected String
name
protected String
publicId
protected String
systemId

Constructor Summary

NotationDeclarationEvent(String name, String publicId, String systemId)

Method Summary

protected void
doWriteAsEncodedUnicode(java.io.Writer writer)
String
getName()
String
getPublicId()
String
getSystemId()

Methods inherited from class com.bea.xml.stream.events.BaseEvent

asCharacters, asEndElement, asStartElement, doWriteAsEncodedUnicode, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, toString, writeAsEncodedUnicode

Field Details

name

protected final String name

publicId

protected final String publicId

systemId

protected final String systemId

Constructor Details

NotationDeclarationEvent

public NotationDeclarationEvent(String name,
                                String publicId,
                                String systemId)

Method Details

doWriteAsEncodedUnicode

protected void doWriteAsEncodedUnicode(java.io.Writer writer)
            throws java.io.IOException

getName

public String getName()
Specified by:
getName in interface javax.xml.stream.events.NotationDeclaration

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface javax.xml.stream.events.NotationDeclaration
getPublicId in interface javax.xml.stream.Location
Overrides:
getPublicId in interface BaseEvent

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface javax.xml.stream.events.NotationDeclaration
getSystemId in interface javax.xml.stream.Location
Overrides:
getSystemId in interface BaseEvent