1 package javax.xml.stream.events; 2 /** 3 * An interface that describes the data found in processing instructions 4 * 5 * @version 1.0 6 * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved. 7 * @since 1.6 8 */ 9 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 } 25