Top Description Fields Constructors Methods
com.sun.xml.internal.stream.events

public Class NotationDeclarationImpl

extends DummyEvent
implements NotationDeclaration
Class Inheritance
All Implemented Interfaces
javax.xml.stream.events.NotationDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants
Imports
javax.xml.stream.events.NotationDeclaration, .XMLEvent, com.sun.xml.internal.stream.dtd.nonvalidating.XMLNotationDecl, jdk.xml.internal.JdkXmlUtils

Implementation of NotationDeclaration event.
Author
k venugopal

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv String
pack-priv String
Inherited from com.sun.xml.internal.stream.events.DummyEvent:
fLocation

Constructor Summary

AccessConstructor and Description
public
NotationDeclarationImpl()

Creates a new instance of NotationDeclarationImpl

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

public

Method Summary

Modifier and TypeMethod and Description
public String
public String
getPublicId()

Implements javax.xml.stream.events.NotationDeclaration.getPublicId.

The notation's public identifier, or null if none was given.

public String
getSystemId()

Implements javax.xml.stream.events.NotationDeclaration.getSystemId.

The notation's system identifier, or null if none was given.

pack-priv void
pack-priv void
setPublicId(String publicId)

pack-priv void
setSystemId(String systemId)

protected void
writeAsEncodedUnicodeEx(Writer
The writer that will output the data
writer
)

Implements abstract com.sun.xml.internal.stream.events.DummyEvent.writeAsEncodedUnicodeEx.

Helper method in order to expose IOException.

Inherited from com.sun.xml.internal.stream.events.DummyEvent:
asCharactersasEndElementasStartElementcharEncodegetEventTypegetLocationgetSchemaTypeisAttributeisCharacterDataisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementsetEventTypesetLocationwriteAsEncodedUnicode

Field Detail

fNameback to summary
pack-priv String fName
fPublicIdback to summary
pack-priv String fPublicId
fSystemIdback to summary
pack-priv String fSystemId

Constructor Detail

NotationDeclarationImplback to summary
public NotationDeclarationImpl()

Creates a new instance of NotationDeclarationImpl

NotationDeclarationImplback to summary
public NotationDeclarationImpl(String name, String publicId, String systemId)
NotationDeclarationImplback to summary
public NotationDeclarationImpl(XMLNotationDecl notation)

Method Detail

getNameback to summary
public String getName()

Implements javax.xml.stream.events.NotationDeclaration.getName.

Doc from javax.xml.stream.events.NotationDeclaration.getName.

The notation name.

Returns:String

the notation name

getPublicIdback to summary
public String getPublicId()

Implements javax.xml.stream.events.NotationDeclaration.getPublicId.

Doc from javax.xml.stream.events.NotationDeclaration.getPublicId.

The notation's public identifier, or null if none was given.

Returns:String

the public identifier

getSystemIdback to summary
public String getSystemId()

Implements javax.xml.stream.events.NotationDeclaration.getSystemId.

Doc from javax.xml.stream.events.NotationDeclaration.getSystemId.

The notation's system identifier, or null if none was given.

Returns:String

the system identifier

setNameback to summary
pack-priv void setName(String name)
setPublicIdback to summary
pack-priv void setPublicId(String publicId)
setSystemIdback to summary
pack-priv void setSystemId(String systemId)
writeAsEncodedUnicodeExback to summary
protected void writeAsEncodedUnicodeEx(Writer writer) throws IOException

Implements abstract com.sun.xml.internal.stream.events.DummyEvent.writeAsEncodedUnicodeEx.

Doc from com.sun.xml.internal.stream.events.DummyEvent.writeAsEncodedUnicodeEx.

Helper method in order to expose IOException.

Parameters
writer:Writer

The writer that will output the data

Exceptions
IOException:
if there is an IO error