Top Description Methods
javax.xml.stream.events

public Interface NotationDeclaration

extends XMLEvent
Known Direct Implementers
com.sun.xml.internal.stream.events.NotationDeclarationImpl

An interface for handling Notation Declarations Receive notification of a notation declaration event. It is up to the application to record the notation for later reference, At least one of publicId and systemId must be non-null. There is no guarantee that the notation declaration will be reported before any unparsed entities that use it.
Author
Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
Since
1.6
Version
1.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the notation name
getName
()

The notation name.

public String

Returns:

the public identifier
getPublicId
()

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

public String

Returns:

the system identifier
getSystemId
()

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

Inherited from javax.xml.stream.events.XMLEvent:
asCharactersasEndElementasStartElementgetEventTypegetLocationgetSchemaTypeisAttributeisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementwriteAsEncodedUnicode

Method Detail

getNameback to summary
public String getName()

The notation name.

Returns:String

the notation name

getPublicIdback to summary
public String getPublicId()

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

Returns:String

the public identifier

getSystemIdback to summary
public String getSystemId()

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

Returns:String

the system identifier