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: */
15: public interface NotationDeclaration extends XMLEvent {
16: /**
17: * The notation name.
18: */
19: String getName();
20:
21: /**
22: * The notation's public identifier, or null if none was given.
23: */
24: String getPublicId();
25:
26: /**
27: * The notation's system identifier, or null if none was given.
28: */
29: String getSystemId();
30: }
|