/**
  * Method for appending specified processing instruction within this output container.
  *
  * <p>Note: for buffered (and not-yet-released) containers, will hold contents buffered until
  * release of container.
  */
 public void addProcessingInstruction(String target, String data) throws XMLStreamException {
   if (_canOutputNewChild()) {
     _context.writeProcessingInstruction(target, data);
   } else {
     _linkNewChild(_context.createProcessingInstruction(target, data));
   }
 }