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 * @since 1.6
09 */
10 public interface ProcessingInstruction extends XMLEvent {
11
12 /**
13 * The target section of the processing instruction
14 *
15 * @return the String value of the PI or null
16 */
17 public String getTarget();
18
19 /**
20 * The data section of the processing instruction
21 *
22 * @return the String value of the PI's data or null
23 */
24 public String getData();
25 }
|