Class TransformAction

java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.TransformAction
All Implemented Interfaces:
Described, Named, TestAction, TestActorAware

public class TransformAction extends AbstractTestAction
Action transforms a XML document(specified inline or from external file resource) with a XSLT document(specified inline or from external file resource) and puts the result in the specified variable.
Since:
2010
  • Constructor Details

  • Method Details

    • doExecute

      public void doExecute(TestContext context)
      Description copied from class: AbstractTestAction
      Subclasses may add custom execution logic here.
      Specified by:
      doExecute in class AbstractTestAction
    • getXmlData

      public String getXmlData()
      Gets the xmlData.
      Returns:
      the xmlData
    • getXmlResourcePath

      public String getXmlResourcePath()
      Gets the xmlResource.
      Returns:
      the xmlResource
    • getXsltData

      public String getXsltData()
      Gets the xsltData.
      Returns:
      the xsltData
    • getXsltResourcePath

      public String getXsltResourcePath()
      Gets the xsltResource.
      Returns:
      the xsltResource
    • getTargetVariable

      public String getTargetVariable()
      Gets the targetVariable.
      Returns:
      the targetVariable