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 bounded event. Any event that has a start and end is "bounded".
14: * For example, element events are bounded such that there exists a
15: * start-element and and end-element event.
16: *
17: * @author Andy Clark
18: *
19: * @version $Id$
20: */
21: public abstract class BoundedEvent extends XMLEvent {
22:
23: //
24: // Data
25: //
26:
27: /** True if this is the start of the boundary. */
28: public boolean start;
29:
30: //
31: // Constructors
32: //
33:
34: //
35: // Constructors
36: //
37:
38: /** Constructs a bounded event of the specified type. */
39: protected BoundedEvent(short type) {
40: super (type);
41: } // <init>(short)
42:
43: } // class BoundedEvent
|