|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessingInstructionHandler
The interface to be implemented by objects that are able to deal with processing instructions.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |