Package com.iizix.ws.api
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default Value
convertValue(java.lang.String value, int dataType)
Converts the String contents to aValue
.
Method Detail
convertValue
default Value convertValue(java.lang.String value, int dataType)
Converts the String contents to aValue
. 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, seeValue.Type
enumeration.- Returns:
- A
Value
instance, ornull
for default.