Class 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 Detail

      • TableToXmlMetadata

        public TableToXmlMetadata()
      • TableToXmlMetadata

        public TableToXmlMetadata​(java.lang.String paramName,
                                  java.lang.String metadataKey)
    • 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 interface ExportParameter
        Parameters:
        source - the JCO.Function
        target - the Destination AdaptrisMessage
        Throws:
        JcoException - wrapping any com.sap.conn.jco.JCoException