KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > stream > events > NotationDeclaration


1 package javax.xml.stream.events;
2 /**
3  * An interface for handling Notation Declarations
4  *
5  * Receive notification of a notation declaration event.
6  * It is up to the application to record the notation for later reference,
7  * At least one of publicId and systemId must be non-null.
8  * There is no guarantee that the notation declaration
9  * will be reported before any unparsed entities that use it.
10  *
11  * @version 1.0
12  * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
13  * @since 1.6
14  */

15 public interface NotationDeclaration extends XMLEvent {
16   /**
17    * The notation name.
18    */

19   String JavaDoc getName();
20
21   /**
22    * The notation's public identifier, or null if none was given.
23    */

24   String JavaDoc getPublicId();
25
26   /**
27    * The notation's system identifier, or null if none was given.
28    */

29   String JavaDoc getSystemId();
30 }
31
Popular Tags