com.agilejava.docbkx.maven
Interface ProcessingInstructionHandler

All Known Implementing Classes:
ExpressionHandler

public interface ProcessingInstructionHandler

The interface to be implemented by objects that are able to deal with processing instructions.

Author:
Wilfred Springer

Method Summary
 void handle(java.lang.String data, org.xml.sax.ContentHandler handler)
          Handles the processing instruction, optionally using the handler to replace content.
 boolean matches(java.lang.String target)
          Returns a boolean indicating if this filter is interested in handling the processing instruction.
 

Method Detail

matches

boolean matches(java.lang.String target)
Returns a boolean indicating if this filter is interested in handling the processing instruction.

Parameters:
target - The target part of the processing instruction.
Returns:
A boolean indicating if this object has an interest in handling this processing instruction.

handle

void handle(java.lang.String data,
            org.xml.sax.ContentHandler handler)
Handles the processing instruction, optionally using the handler to replace content. Note that implementations need to take care that the result is still going to be a well-balanced XML document.

Parameters:
data - The data part of the processing instruction.
handler - The ContentHandler optionally receiving some additional events.


Copyright © 2006-2008. All Rights Reserved.