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: import org.apache.xerces.xni.XMLString;
13:
14: /**
15: * Character content event. This event is also used for ignorable
16: * whitespace.
17: *
18: * @author Andy Clark
19: *
20: * @version $Id$
21: */
22: public class CharactersEvent extends XMLEvent {
23:
24: //
25: // Data
26: //
27:
28: /** The text content. */
29: public XMLString text;
30:
31: /** True if this event is ignorable whitespace. */
32: public boolean ignorable;
33:
34: //
35: // Constructors
36: //
37:
38: /** Default constructor. */
39: public CharactersEvent() {
40: super (XMLEvent.CHARACTERS);
41: } // <init>()
42:
43: } // class CharactersEvent
|