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: * A processing instruction event.
16: *
17: * @author Andy Clark
18: *
19: * @version $Id$
20: */
21: public class ProcessingInstructionEvent extends XMLEvent {
22:
23: //
24: // Data
25: //
26:
27: /** The target. */
28: public String target;
29:
30: /** The processing instruction data, or null if no data was specified. */
31: public XMLString data;
32:
33: //
34: // Constructors
35: //
36:
37: /** Default constructor. */
38: public ProcessingInstructionEvent() {
39: super (XMLEvent.PROCESSING_INSTRUCTION);
40: } // <init>()
41:
42: } // class ProcessingInstructionEvent
|