public abstract class AbstractTemplateProcessor extends Object implements org.milyn.delivery.dom.DOMElementVisitor, org.milyn.delivery.ordering.Producer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractTemplateProcessor.Action |
static class |
AbstractTemplateProcessor.ActionDecoder |
| 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 |
|---|---|
boolean |
applyTemplateBefore() |
protected AbstractTemplateProcessor.Action |
getAction() |
org.milyn.javabean.repository.BeanId |
getBindBeanId() |
String |
getBindId() |
Charset |
getEncoding() |
String |
getOutputStreamResource() |
Set<String> |
getProducts() |
void |
initialize() |
protected abstract void |
loadTemplate(org.milyn.cdr.SmooksResourceConfiguration config) |
protected void |
processTemplateAction(Element element,
Node templatingResult,
org.milyn.container.ExecutionContext executionContext) |
protected void |
processTemplateAction(Element element,
NodeList templatingResultNodeList,
org.milyn.container.ExecutionContext executionContext) |
protected void |
setTemplatingConfiguration(TemplatingConfiguration templatingConfiguration) |
protected abstract void |
visit(Element element,
org.milyn.container.ExecutionContext executionContext) |
void |
visitAfter(Element element,
org.milyn.container.ExecutionContext executionContext) |
void |
visitBefore(Element element,
org.milyn.container.ExecutionContext executionContext) |
public static final String TEMPLATE_SPLIT_PI
@Initialize public void initialize()
protected void setTemplatingConfiguration(TemplatingConfiguration templatingConfiguration)
protected abstract void loadTemplate(org.milyn.cdr.SmooksResourceConfiguration config)
throws IOException,
TransformerConfigurationException
public boolean applyTemplateBefore()
public Set<String> getProducts()
getProducts in interface org.milyn.delivery.ordering.Producerprotected AbstractTemplateProcessor.Action getAction()
public Charset getEncoding()
public String getBindId()
public String getOutputStreamResource()
protected void processTemplateAction(Element element, Node templatingResult, org.milyn.container.ExecutionContext executionContext)
protected void processTemplateAction(Element element, NodeList templatingResultNodeList, org.milyn.container.ExecutionContext executionContext)
public void visitBefore(Element element, org.milyn.container.ExecutionContext executionContext) throws org.milyn.SmooksException
visitBefore in interface org.milyn.delivery.dom.DOMVisitBeforeorg.milyn.SmooksExceptionpublic void visitAfter(Element element, org.milyn.container.ExecutionContext executionContext) throws org.milyn.SmooksException
visitAfter in interface org.milyn.delivery.dom.DOMVisitAfterorg.milyn.SmooksExceptionprotected abstract void visit(Element element, org.milyn.container.ExecutionContext executionContext) throws org.milyn.SmooksException
org.milyn.SmooksExceptionpublic org.milyn.javabean.repository.BeanId getBindBeanId()
Copyright © 2016. All rights reserved.