Package com.adaptris.core.json.streaming
Class AdvancedStreamingTransformationDriver
- java.lang.Object
-
- com.adaptris.core.json.streaming.DefaultStreamingTransformationDriver
-
- com.adaptris.core.json.streaming.AdvancedStreamingTransformationDriver
-
- All Implemented Interfaces:
com.adaptris.core.transform.json.TransformationDriver
@ComponentProfile(summary="streaming xml/json driver that allows customisations", tag="json,xml", since="3.11.0") public class AdvancedStreamingTransformationDriver extends DefaultStreamingTransformationDriver
TransformationDriver
implementation that allows customisation of aJsonStreamingConfigBuilder
.In the adapter configuration file this class is aliased as advanced-streaming-transformation-driver which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description AdvancedStreamingTransformationDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonStreamingConfigBuilder
getConfig()
Configuration that dictates the behaviour of the underlying streaming instances.protected javax.xml.stream.XMLInputFactory
inputBuilder(com.adaptris.core.transform.json.TransformationDirection dir)
protected javax.xml.stream.XMLOutputFactory
outputBuilder(com.adaptris.core.transform.json.TransformationDirection dir)
void
setConfig(JsonStreamingConfigBuilder config)
Configuration that dictates the behaviour of the underlying streaming instances.AdvancedStreamingTransformationDriver
withConfig(JsonStreamingConfigBuilder b)
-
Methods inherited from class com.adaptris.core.json.streaming.DefaultStreamingTransformationDriver
transform
-
-
-
-
Method Detail
-
withConfig
public AdvancedStreamingTransformationDriver withConfig(JsonStreamingConfigBuilder b)
-
inputBuilder
protected javax.xml.stream.XMLInputFactory inputBuilder(com.adaptris.core.transform.json.TransformationDirection dir)
- Overrides:
inputBuilder
in classDefaultStreamingTransformationDriver
-
outputBuilder
protected javax.xml.stream.XMLOutputFactory outputBuilder(com.adaptris.core.transform.json.TransformationDirection dir)
- Overrides:
outputBuilder
in classDefaultStreamingTransformationDriver
-
getConfig
public JsonStreamingConfigBuilder getConfig()
Configuration that dictates the behaviour of the underlying streaming instances.
-
setConfig
public void setConfig(JsonStreamingConfigBuilder config)
Configuration that dictates the behaviour of the underlying streaming instances.
-
-