public abstract class AbstractTemplateProcessor extends Object implements org.smooks.api.resource.visitor.sax.ng.BeforeVisitor, org.smooks.api.resource.visitor.sax.ng.AfterVisitor
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_SPLIT_PI
Template split point processing instruction.
|
Constructor and Description |
---|
AbstractTemplateProcessor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
applyTemplate(Element element,
org.smooks.api.ExecutionContext executionContext,
Writer writer) |
boolean |
applyTemplateBefore() |
Charset |
getEncoding() |
protected abstract void |
loadTemplate(org.smooks.api.resource.config.ResourceConfig resourceConfig) |
void |
postConstruct() |
protected void |
setTemplatingConfiguration(TemplatingConfiguration templatingConfiguration) |
void |
visitAfter(Element element,
org.smooks.api.ExecutionContext executionContext) |
void |
visitBefore(Element element,
org.smooks.api.ExecutionContext executionContext) |
public static final String TEMPLATE_SPLIT_PI
@PostConstruct public void postConstruct()
protected void setTemplatingConfiguration(TemplatingConfiguration templatingConfiguration)
protected abstract void loadTemplate(org.smooks.api.resource.config.ResourceConfig resourceConfig) throws IOException, TransformerConfigurationException
public boolean applyTemplateBefore()
public Charset getEncoding()
public void visitBefore(Element element, org.smooks.api.ExecutionContext executionContext) throws org.smooks.api.SmooksException
visitBefore
in interface org.smooks.api.resource.visitor.sax.ng.BeforeVisitor
org.smooks.api.SmooksException
protected abstract void applyTemplate(Element element, org.smooks.api.ExecutionContext executionContext, Writer writer)
public void visitAfter(Element element, org.smooks.api.ExecutionContext executionContext) throws org.smooks.api.SmooksException
visitAfter
in interface org.smooks.api.resource.visitor.sax.ng.AfterVisitor
org.smooks.api.SmooksException
Copyright © 2024. All rights reserved.