Package com.consol.citrus.functions.core
Class CreateCDataSectionFunction
- java.lang.Object
-
- com.consol.citrus.functions.core.CreateCDataSectionFunction
-
- All Implemented Interfaces:
com.consol.citrus.functions.Function
public class CreateCDataSectionFunction extends Object implements com.consol.citrus.functions.Function
Adds XML CDATA section tags to parameter value. This is extremely useful when having CDATA sections in message payload. Citrus test case itself also uses CDATA sections and nested CDATA sections are not allowed. This function adds the CDATA section tags at runtime.- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description CreateCDataSectionFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexecute(List<String> parameterList, com.consol.citrus.context.TestContext context)
-