public class XslTemplateProcessor extends AbstractTemplateProcessor implements Consumer, FilterBypass
AbstractTemplateProcessor.Action, AbstractTemplateProcessor.ActionDecoderTEMPLATE_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, visitBeforeprotected void loadTemplate(SmooksResourceConfiguration resourceConfig) throws IOException, TransformerConfigurationException
loadTemplate in class AbstractTemplateProcessorIOExceptionTransformerConfigurationExceptionpublic boolean consumes(Object object)
ConsumerProducer 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 AbstractTemplateProcessorSmooksExceptionpublic boolean bypass(ExecutionContext executionContext, Source source, Result result) throws SmooksException
FilterBypassbypass in interface FilterBypassexecutionContext - Smooks execution context.source - Filter Source.result - Filter Result.SmooksException - An error occurred while apply the bypass transform.Copyright © 2020. All rights reserved.