org.milyn.templating.xslt
Class XslTemplateProcessor

java.lang.Object
  extended by org.milyn.templating.AbstractTemplateProcessor
      extended by org.milyn.templating.xslt.XslTemplateProcessor
All Implemented Interfaces:
ContentHandler, DOMElementVisitor, DOMVisitAfter, DOMVisitBefore, DOMVisitor, FilterBypass, Consumer, Producer, Visitor

public class XslTemplateProcessor
extends AbstractTemplateProcessor
implements Consumer, FilterBypass

XSLT template application ProcessingUnit.

Author:
tfennelly

Nested Class Summary
 
Nested classes/interfaces inherited from class org.milyn.templating.AbstractTemplateProcessor
AbstractTemplateProcessor.Action, AbstractTemplateProcessor.ActionDecoder
 
Field Summary
 
Fields inherited from class org.milyn.templating.AbstractTemplateProcessor
TEMPLATE_SPLIT_PI
 
Constructor Summary
XslTemplateProcessor()
           
 
Method Summary
 boolean bypass(ExecutionContext executionContext, Source source, Result result)
           
 boolean consumes(Object object)
           
protected  void loadTemplate(SmooksResourceConfiguration resourceConfig)
           
protected  void visit(Element element, ExecutionContext executionContext)
           
 
Methods inherited from class org.milyn.templating.AbstractTemplateProcessor
applyTemplateBefore, getAction, getBindBeanId, getBindId, getEncoding, getOutputStreamResource, getProducts, initialize, processTemplateAction, processTemplateAction, setTemplatingConfiguration, visitAfter, visitBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XslTemplateProcessor

public XslTemplateProcessor()
Method Detail

loadTemplate

protected void loadTemplate(SmooksResourceConfiguration resourceConfig)
                     throws IOException,
                            TransformerConfigurationException
Specified by:
loadTemplate in class AbstractTemplateProcessor
Throws:
IOException
TransformerConfigurationException

consumes

public boolean consumes(Object object)
Specified by:
consumes in interface Consumer

visit

protected void visit(Element element,
                     ExecutionContext executionContext)
              throws SmooksException
Specified by:
visit in class AbstractTemplateProcessor
Throws:
SmooksException

bypass

public boolean bypass(ExecutionContext executionContext,
                      Source source,
                      Result result)
               throws SmooksException
Specified by:
bypass in interface FilterBypass
Throws:
SmooksException


Copyright © 2014. All Rights Reserved.