|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agilejava.docbkx.maven.ExpressionHandler
public class ExpressionHandler
A ProcessingInstructionHandler
that evaluates expressions passed as
data as JSP expression language expressions.
Constructor Summary | |
---|---|
ExpressionHandler(javax.servlet.jsp.el.VariableResolver resolver,
org.apache.maven.plugin.logging.Log log)
Constructs a new instance. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionHandler(javax.servlet.jsp.el.VariableResolver resolver, org.apache.maven.plugin.logging.Log log)
resolver
- The object used for resolving variables. (Not
null
.)log
- The object used for logging. (Not null
.)Method Detail |
---|
public void handle(java.lang.String data, org.xml.sax.ContentHandler handler)
ProcessingInstructionHandler
handler
to replace content. Note that implementations need
to take care that the result is still going to be a well-balanced XML
document.
handle
in interface ProcessingInstructionHandler
data
- The data
part of the processing instruction.handler
- The ContentHandler
optionally receiving
some additional events.public boolean matches(java.lang.String target)
ProcessingInstructionHandler
matches
in interface ProcessingInstructionHandler
target
- The target
part of the processing instruction.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |