@Override public void execute(Result result, XMLStreamScanner streamWriter) { // Pop the last two "?>" result.popChar(); result.popChar(); streamWriter.writeProcessingInstruction(result.popString()); }
@Override public void execute(Result result, XMLStreamScanner streamWriter) { streamWriter.writeStartDocumentEncoding(result.popString()); }
@Override public void execute(Result result, XMLStreamScanner streamWriter) { @SuppressWarnings("unused") final char ch = result.popChar(); streamWriter.writeEmptyStartElementTagSolidus(); }
@Override public void execute(Result result, XMLStreamScanner scanner) { @SuppressWarnings("unused") final char ch = result.popChar(); scanner.writeStartElementTagGT(); }