org.talend.esb.policy.transformation.interceptor.xslt
Class AbstractHttpAwareXSLTInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.talend.esb.policy.transformation.interceptor.xslt.AbstractHttpAwareXSLTInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
Direct Known Subclasses:
HttpAwareXSLTInInterceptor, HttpAwareXSLTOutInterceptor

public abstract class AbstractHttpAwareXSLTInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>


Constructor Summary
AbstractHttpAwareXSLTInterceptor(String phase, Class<?> before, Class<?> after, String xsltPath)
           
 
Method Summary
protected  boolean checkContextProperty(org.apache.cxf.message.Message message)
           
protected  Templates getXSLTTemplate()
           
 void handleMessage(org.apache.cxf.message.Message message)
           
protected abstract  void performTransformation(org.apache.cxf.message.Message message)
           
 void setAppliesToType(TransformationAssertion.AppliesToType appliesToType)
           
 void setContextPropertyName(String propertyName)
           
 void setMsgType(TransformationAssertion.MessageType msgType)
           
protected  boolean shouldSchemaValidate(org.apache.cxf.message.Message message)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHttpAwareXSLTInterceptor

public AbstractHttpAwareXSLTInterceptor(String phase,
                                        Class<?> before,
                                        Class<?> after,
                                        String xsltPath)
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.message.Message message)

performTransformation

protected abstract void performTransformation(org.apache.cxf.message.Message message)

shouldSchemaValidate

protected boolean shouldSchemaValidate(org.apache.cxf.message.Message message)

setContextPropertyName

public void setContextPropertyName(String propertyName)

checkContextProperty

protected boolean checkContextProperty(org.apache.cxf.message.Message message)

getXSLTTemplate

protected Templates getXSLTTemplate()

setMsgType

public void setMsgType(TransformationAssertion.MessageType msgType)

setAppliesToType

public void setAppliesToType(TransformationAssertion.AppliesToType appliesToType)


Copyright © 2011–2014 Talend Inc.. All rights reserved.