public void writeProcessingInstruction(String target, String data)
			throws XMLStreamException {
		if (preservePI) {
			try {
				this.checkPendingATEvents();
				encoder.encodeProcessingInstruction(target, data);
			} catch (Exception e) {
				throw new XMLStreamException(e.getLocalizedMessage(), e);
			}
		}
	}
public void writeProcessingInstruction ( String target , String data ) throws XMLStreamException { if ( preservePI ) { try { this . checkPendingATEvents ( ) ; encoder . encodeProcessingInstruction ( target , data ) ; } catch ( Exception e ) { throw new XMLStreamException ( e . getLocalizedMessage ( ) , e ) ; } } }
/*
Writes a processing instruction

(non-Javadoc)

@see
javax.xml.stream.XMLStreamWriter#writeProcessingInstruction(java.lang
.String, java.lang.String)