public class MetadataDataInputParameter extends java.lang.Object implements DataInputParameter<java.lang.String>
This DataInputParameter
is used when you want to source data from the AdaptrisMessage
metadata.
An example might be specifying that the XPath expression required for the XPathService
can be found in
a particular metadata item of an AdaptrisMessage
.
In the adapter configuration file this class is aliased as metadata-data-input-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
MetadataDataInputParameter() |
MetadataDataInputParameter(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extract(InterlokMessage message) |
java.lang.String |
getMetadataKey() |
void |
setMetadataKey(java.lang.String key) |
public MetadataDataInputParameter()
public MetadataDataInputParameter(java.lang.String key)
public java.lang.String extract(InterlokMessage message)
extract
in interface DataInputParameter<java.lang.String>
public java.lang.String getMetadataKey()
public void setMetadataKey(java.lang.String key)