Interface IOutputVariableConverter


public interface IOutputVariableConverter
Interface used to convert individual variables used in the reply output connected to a VS Field. This interface enabled custom conversion of the Web Service reply to a Value.

This interface contains multiple conversion routines, depending on the use, and has defaults so that if a method is not overridden, it's just as if it wasn't processed or converted (i.e. left as-is).

Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    default Value
    convertValue(String value, int dataType)
    Converts the String contents to a Value.
  • Method Details

    • convertValue

      default Value convertValue(String value, int dataType)
      Converts the String contents to a Value. This method is used for XML contents.
      Parameters:
      value - The value from the Web Service reply.
      dataType - The data type requested by the VirtualSpace in order to avoid additional conversion, see Value.Type enumeration.
      Returns:
      A Value instance, or null for default.