org.mactor.extensions.xml
Class ForwardXslMessageBuilder

java.lang.Object
  extended by org.mactor.extensions.xml.ForwardXslMessageBuilder
All Implemented Interfaces:
MessageBuilderCommand

public class ForwardXslMessageBuilder
extends java.lang.Object
implements MessageBuilderCommand


Constructor Summary
ForwardXslMessageBuilder()
           
 
Method Summary
 Message buildMessage(TestContext context, java.lang.String templatePath, java.util.List<java.lang.String> params)
          The method invoked by the testrunner to build the message
 Message transform(Message message, java.lang.String xslPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardXslMessageBuilder

public ForwardXslMessageBuilder()
Method Detail

buildMessage

public Message buildMessage(TestContext context,
                            java.lang.String templatePath,
                            java.util.List<java.lang.String> params)
                     throws MactorException
Description copied from interface: MessageBuilderCommand
The method invoked by the testrunner to build the message

Specified by:
buildMessage in interface MessageBuilderCommand
Parameters:
context - contains information about the context of the test that might be useful (such as all messages sent/received so far in the test)
params - the list of parameteres specifed for the given node in the test-spec xml (after the ##{...} substitution has been performed)
Returns:
the built message
Throws:
MactorException - to indicate some problem (this will cause the test to fail)

transform

public Message transform(Message message,
                         java.lang.String xslPath)
                  throws MactorException
Throws:
MactorException


Copyright © 2008. All Rights Reserved.