Package com.adaptris.core.transform.json
Interface TransformationDriver
-
- All Known Implementing Classes:
JsonArrayTransformationDriver
,JsonlibTransformationDriver
,JsonObjectTransformationDriver
,JsonTransformationDriverImpl
,SafeJsonTransformationDriver
,SimpleJsonTransformationDriver
,XStreamTransformationDriver
public interface TransformationDriver
Transformation driver.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
transform(AdaptrisMessage msg, TransformationDirection direction)
Perform the transformation.default java.lang.String
transform(java.lang.String input, TransformationDirection direction)
Deprecated.since 3.11.0 use thetransform(AdaptrisMessage, TransformationDirection)
instead.
-
-
-
Method Detail
-
transform
@Deprecated @Removal(version="4.0.0") default java.lang.String transform(java.lang.String input, TransformationDirection direction) throws ServiceException
Deprecated.since 3.11.0 use thetransform(AdaptrisMessage, TransformationDirection)
instead.Perform transformation.- Parameters:
input
- The data to transform.direction
- The direction of the transformation.- Returns:
- The transformed data.
- Throws:
ServiceException
- Thrown if there is a problem with the transformation.- Implementation Note:
- The default implementation throws an
UnsupportedOperationException
.
-
transform
default void transform(AdaptrisMessage msg, TransformationDirection direction) throws ServiceException
Perform the transformation.- Parameters:
msg
- The data to transform.direction
- The direction of the transformation.- Throws:
ServiceException
- Thrown if there is a problem with the transformation.- Implementation Note:
- The default implementation just delegates to
transform(String, TransformationDirection)
.
-
-