net.javacrumbs.springws.test.generator
Class WebServiceTransportExceptionGenerator

java.lang.Object
  extended by net.javacrumbs.springws.test.expression.AbstractExpressionProcessor
      extended by net.javacrumbs.springws.test.generator.WebServiceTransportExceptionGenerator
All Implemented Interfaces:
RequestProcessor, org.springframework.core.Ordered

public class WebServiceTransportExceptionGenerator
extends AbstractExpressionProcessor
implements RequestProcessor, org.springframework.core.Ordered

Applies given XPath expressions on request. If the expression is evaluated to true WebServiceTransportException is thrown.

Author:
Lukas Krecan

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
WebServiceTransportExceptionGenerator()
           
 
Method Summary
protected  void expressionValid(java.lang.String expression, java.lang.String errorMessage)
          Method called if any XPath expression is evaluated as "true".
 
Methods inherited from class net.javacrumbs.springws.test.expression.AbstractExpressionProcessor
getExceptionMapping, getExpressionResolver, getOrder, getXmlUtil, processRequest, setExceptionMapping, setExpressionResolver, setOrder, setXmlUtil
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.javacrumbs.springws.test.RequestProcessor
processRequest
 
Methods inherited from interface org.springframework.core.Ordered
getOrder
 

Constructor Detail

WebServiceTransportExceptionGenerator

public WebServiceTransportExceptionGenerator()
Method Detail

expressionValid

protected void expressionValid(java.lang.String expression,
                               java.lang.String errorMessage)
Description copied from class: AbstractExpressionProcessor
Method called if any XPath expression is evaluated as "true".

Specified by:
expressionValid in class AbstractExpressionProcessor


Copyright © 2011. All Rights Reserved.