public class XslTemplateProcessor extends AbstractTemplateProcessor implements Consumer, FilterBypass
AbstractTemplateProcessor.Action, AbstractTemplateProcessor.ActionDecoder
TEMPLATE_SPLIT_PI
Constructor and Description |
---|
XslTemplateProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
bypass(ExecutionContext executionContext,
Source source,
Result result)
Bypass the Smooks Filter process.
|
boolean |
consumes(Object object)
Does this consumer consume the specified named object.
|
protected void |
loadTemplate(SmooksResourceConfiguration resourceConfig) |
protected void |
visit(Element element,
ExecutionContext executionContext) |
applyTemplateBefore, getAction, getBindBeanId, getBindId, getEncoding, getOutputStreamResource, getProducts, initialize, processTemplateAction, processTemplateAction, setTemplatingConfiguration, visitAfter, visitBefore
protected void loadTemplate(SmooksResourceConfiguration resourceConfig) throws IOException, TransformerConfigurationException
loadTemplate
in class AbstractTemplateProcessor
IOException
TransformerConfigurationException
public boolean consumes(Object object)
Consumer
Producer
that is executing
on the same element. The consumer should only return false
if it knows for
certain that it doesn't consumer the specified named object. If uncertain, it should
error on the side of saying that it does consume the object.protected void visit(Element element, ExecutionContext executionContext) throws SmooksException
visit
in class AbstractTemplateProcessor
SmooksException
public boolean bypass(ExecutionContext executionContext, Source source, Result result) throws SmooksException
FilterBypass
bypass
in interface FilterBypass
executionContext
- Smooks execution context.source
- Filter Source.result
- Filter Result.SmooksException
- An error occurred while apply the bypass transform.Copyright © 2020. All rights reserved.