public class XpathField extends FieldMapper
In the adapter configuration file this class is aliased as oracleaq-xpath-field which is the preferred alternative to the fully qualified classname when building your configuration.
logR, owner
Constructor and Description |
---|
XpathField() |
XpathField(java.lang.String s,
TypeWrapper type,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
KeyValuePairSet |
getNamespaceContext() |
java.lang.String |
getXpath()
Return the XPath expression.
|
void |
setNamespaceContext(KeyValuePairSet kvps)
Set the namespace context for resolving namespaces.
|
void |
setXpath(java.lang.String s)
Set the XPath Expression.
|
getFieldName, getFieldType, setFieldName, setFieldType
public XpathField()
public XpathField(java.lang.String s, TypeWrapper type, java.lang.String value)
public java.lang.String getXpath()
public void setXpath(java.lang.String s)
If the XPath will resolve to more than 1 item, then any one of items is used to populate the MQMessage field
s
- the value to setpublic KeyValuePairSet getNamespaceContext()
public void setNamespaceContext(KeyValuePairSet kvps)
kvps
- the namespace contextSimpleNamespaceContext.create(KeyValuePairSet)