public interface ProcessingInstructionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handle(String data,
ContentHandler handler)
Handles the processing instruction, optionally using the
handler to replace
content. |
boolean |
matches(String target)
Returns a boolean indicating if this filter is interested in handling the processing
instruction.
|
boolean matches(String target)
target - The target part of the processing instruction.void handle(String data, ContentHandler handler)
handler to replace
content. Note that implementations need to take care that the result is still going to be a
well-balanced XML document.data - The data part of the processing instruction.handler - The ContentHandler optionally receiving some additional
events.Copyright © 2006–2016 Wilfred Springer, Cedric Pronzato. All rights reserved.