Class TableToXmlMetadata
- java.lang.Object
-
- com.adaptris.core.sap.jco3.rfc.params.Parameter
-
- com.adaptris.core.sap.jco3.rfc.params.MetadataParameter
-
- com.adaptris.core.sap.jco3.rfc.params.TableToXmlMetadata
-
- All Implemented Interfaces:
ExportParameter
public class TableToXmlMetadata extends MetadataParameter implements ExportParameter
Exports all the rows of a table into metadata converting it to XML.In the adapter configuration file this class is aliased as sapjco3-table-to-xml-metadata which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description TableToXmlMetadata()
TableToXmlMetadata(java.lang.String paramName, java.lang.String metadataKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
translate(com.sap.conn.jco.JCoFunction source, AdaptrisMessage target)
Adapt the JCoFunction object into the AdaptrisMessage-
Methods inherited from class com.adaptris.core.sap.jco3.rfc.params.MetadataParameter
getKeyToUse, getMetadataKey, getMetadataValue, setMetadataKey
-
Methods inherited from class com.adaptris.core.sap.jco3.rfc.params.Parameter
getAdditionalDebug, getNullConverter, getParameterName, setAdditionalDebug, setNullConverter, setParameterName
-
-
-
-
Method Detail
-
translate
public void translate(com.sap.conn.jco.JCoFunction source, AdaptrisMessage target) throws JcoException
Adapt the JCoFunction object into the AdaptrisMessage- Specified by:
translate
in interfaceExportParameter
- Parameters:
source
- the JCO.Functiontarget
- the Destination AdaptrisMessage- Throws:
JcoException
- wrapping any com.sap.conn.jco.JCoException
-
-