01 package javax.xml.stream.events;
02
03 /**
04 * An interface for handling Notation Declarations
05 *
06 * Receive notification of a notation declaration event.
07 * It is up to the application to record the notation for later reference,
08 * At least one of publicId and systemId must be non-null.
09 * There is no guarantee that the notation declaration
10 * will be reported before any unparsed entities that use it.
11 *
12 * @version 1.0
13 * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
14 * @since 1.6
15 */
16 public interface NotationDeclaration extends XMLEvent {
17 /**
18 * The notation name.
19 */
20 String getName();
21
22 /**
23 * The notation's public identifier, or null if none was given.
24 */
25 String getPublicId();
26
27 /**
28 * The notation's system identifier, or null if none was given.
29 */
30 String getSystemId();
31 }
|