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
Modifier and TypeMethodDescriptiondefault Value
convertValue
(String value, int dataType) Converts the String contents to aValue
.
Method Details
convertValue
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.