Package com.adaptris.core.json.jslt
Class JsltMetadataVariables
java.lang.Object
com.adaptris.core.json.jslt.JsltMetadataVariables
- All Implemented Interfaces:
JsltVariableBuilder
Builds a map of variables for JSLT from normal message metadata.
Note that since metadata is considered internally as Strings, then all the resulting
JsonNode will be a TextNode using TextNode.valueOf(String).
In the adapter configuration file this class is aliased as jslt-metadata-variable which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(AdaptrisMessage msg) The filter you wish to apply to metadata values.voidsetFilter(MetadataFilter filter) The filter you wish to apply to metadata values.
-
Constructor Details
-
JsltMetadataVariables
public JsltMetadataVariables()
-
-
Method Details
-
build
- Specified by:
buildin interfaceJsltVariableBuilder
-
withFilter
-
getFilter
The filter you wish to apply to metadata values.The default if not configured is
RemoveAllMetadataFilter. -
setFilter
The filter you wish to apply to metadata values.The default if not configured is
RemoveAllMetadataFilter.
-