1 package com.jclark.xml.parse; 2 3 /** 4 * Information about a processing instruction. 5 * @see com.jclark.xml.parse.base.Application#processingInstruction 6 * @version $Revision: 1.6 $ $Date: 1998/05/27 19:07:23 $ 7 */ 8 public interface ProcessingInstructionEvent extends LocatedEvent { 9 /** 10 * Returns the target of the processing instruction. 11 */ getName()12 String getName(); 13 /** 14 * Returns the part of the processing instruction following the 15 * target. Leading white space is not included. 16 * The string will be empty rather than null if the processing 17 * instruction contains only a target. 18 */ getInstruction()19 String getInstruction(); 20 } 21