public class XpathToTable extends Parameter implements ImportParameter
In the adapter configuration file this class is aliased as sapjco3-xpath-to-table which is the preferred alternative to the fully qualified classname when building your configuration.
License Required: ENTERPRISE
Constructor and Description |
---|
XpathToTable() |
XpathToTable(java.lang.String paramName,
java.lang.String xpath) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXpath()
Return the XPath expression.
|
void |
setXpath(java.lang.String s)
Set the XPath Expression.
|
void |
translate(com.adaptris.core.AdaptrisMessage source,
com.sap.conn.jco.JCoFunction target)
Import the AdaptrisMessage object into the RFC Parameter list.
|
getAdditionalDebug, getNullConverter, getParameterName, setAdditionalDebug, setNullConverter, setParameterName
public XpathToTable()
public XpathToTable(java.lang.String paramName, java.lang.String xpath)
public void translate(com.adaptris.core.AdaptrisMessage source, com.sap.conn.jco.JCoFunction target) throws JcoException
ImportParameter
translate
in interface ImportParameter
source
- the source AdaptrisMessagetarget
- the Destination RFC FunctionJcoException
- wrapping any com.sap.conn.jco.JCoExceptionpublic 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 the resolved items is used to populate the RFC Paramter List
s
- the value to setCopyright Adaptris