01: /*
02: * (C) Copyright 2002-2003, Andy Clark. All rights reserved.
03: *
04: * This file is distributed under an Apache style license. Please
05: * refer to the LICENSE file for specific details.
06: */
07:
08: package org.cyberneko.pull.event;
09:
10: import org.cyberneko.pull.XMLEvent;
11:
12: /**
13: * A DOCTYPE declaration event.
14: *
15: * @author Andy Clark
16: *
17: * @version $Id$
18: */
19: public class DoctypeDeclEvent extends XMLEvent {
20:
21: //
22: // Data
23: //
24:
25: /** The root element name. */
26: public String root;
27:
28: /**
29: * The public identifier of the external subset. This value can be
30: * null if there is no external subset <em>or</em> if the external
31: * subset is referenced with "SYSTEM".
32: */
33: public String pubid;
34:
35: /**
36: * The system identifier of the external subset. This value can be
37: * null if there is no external subset.
38: */
39: public String sysid;
40:
41: //
42: // Constructors
43: //
44:
45: /** Default constructor. */
46: public DoctypeDeclEvent() {
47: super (XMLEvent.DOCTYPE_DECL);
48: } // <init>()
49:
50: } // class DoctypeDeclEvent
|