01: package javax.xml.stream.events;
02:
03: /**
04: * An interface that describes the data found in processing instructions
05: *
06: * @version 1.0
07: * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
08: */
09: public interface ProcessingInstruction extends XMLEvent {
10:
11: /**
12: * The target section of the processing instruction
13: *
14: * @return the String value of the PI or null
15: */
16: public String getTarget();
17:
18: /**
19: * The data section of the processing instruction
20: *
21: * @return the String value of the PI's data or null
22: */
23: public String getData();
24: }
|