|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ATTR(value={"convTypes#String#REQUIRED","implClass#String#REQUIRED"}) public interface Conversion
Method Summary | |
---|---|
java.lang.Object |
convertFrom(java.lang.Object obj,
PropertyDescription pd)
Converts an input object into a proper object handled by the invoker, which can then set the output object into the data element. |
java.lang.Object |
convertFrom(java.lang.Object obj,
PropertyDescription pd,
boolean byReference)
Converts an input object into a proper object handled by the invoker, which can then set the output object into the data element. |
java.lang.Object |
convertFrom(java.lang.Object obj,
java.lang.String convType,
PropertyDescription pd,
boolean byReference)
Converts an input object into a proper object handled by the invoker, which can then set the output object into the data element. |
java.lang.Object |
convertFrom(java.lang.Object obj,
java.lang.String convType,
PropertyDescription pd,
boolean byReference,
java.util.Locale locale)
Converts an input object into a proper object handled by the invoker, which can then set the output object into the data element. |
java.lang.Object |
convertFrom(java.lang.Object obj,
java.lang.String convType,
PropertyDescription pd,
boolean byReference,
java.util.Locale locale,
Hashtable parameters)
Converts an input object into a proper object handled by the invoker, which can then set the output object into the data element. |
java.lang.Object |
convertTo(java.lang.Object obj,
PropertyDescription pd)
Converts an input object into a proper object handled by the invoker. |
java.lang.Object |
convertTo(java.lang.Object obj,
PropertyDescription pd,
boolean byReference)
Converts an input object into a proper object handled by the invoker. |
java.lang.Object |
convertTo(java.lang.Object obj,
java.lang.String convType,
PropertyDescription pd,
boolean byReference)
Converts an input object into a proper object handled by the invoker. |
java.lang.Object |
convertTo(java.lang.Object obj,
java.lang.String convType,
PropertyDescription pd,
boolean byReference,
java.util.Locale locale)
Converts an input object into a proper object handled by the invoker. |
java.lang.Object |
convertTo(java.lang.Object obj,
java.lang.String convType,
PropertyDescription pd,
boolean byReference,
java.util.Locale locale,
Hashtable parameters)
Converts an input object into a proper object handled by the invoker. |
void |
formatToWriter(java.lang.Object value,
java.lang.String conversionType,
java.io.Writer writer,
PropertyDescription descriptor)
Formats the object using the specified conversion type and writer pssed as arguments. |
void |
formatToWriter(java.lang.Object value,
java.lang.String conversionType,
java.io.Writer writer,
PropertyDescription descriptor,
java.util.Locale locale)
Formats the object using the specified conversion type, locale, and writer passed as arguments. |
void |
formatToWriter(java.lang.Object value,
java.lang.String conversionType,
java.io.Writer writer,
PropertyDescription descriptor,
java.util.Locale locale,
Hashtable parameters)
Formats the object using the specified conversion type, locale, and writer passed as arguments. |
java.lang.String[] |
getSupportedConversionTypes()
Returns an array of conversion types supported by this Converter. |
boolean |
supportsConversionType(java.lang.String conversionType)
Returns a flag indicating whether the conversion type passed as argument is supported. |
java.lang.Object |
unformatFromReader(java.io.Reader reader,
java.lang.String conversionType,
PropertyDescription descriptor)
Uses the reader passed to construct an Object of the correct Type using the appropriate conversion type. |
java.lang.Object |
unformatFromReader(java.io.Reader reader,
java.lang.String conversionType,
PropertyDescription descriptor,
java.util.Locale locale)
Uses the reader passed to construct an Object of the correct Type using the appropriate conversion type and the given locale. |
java.lang.Object |
unformatFromReader(java.io.Reader reader,
java.lang.String conversionType,
PropertyDescription descriptor,
java.util.Locale locale,
Hashtable parameters)
Uses the reader passed to construct an Object of the correct Type using the appropriate conversion type and the given locale. |
void |
validateParams(PropertyDescription pd)
Validates the parameters externaly defined for this converter. |
Method Detail |
---|
java.lang.Object convertFrom(java.lang.Object obj, PropertyDescription pd) throws DSETypeException
obj
- java.lang.Objectpd
- com.ibm.btt.base.types.PropertyDescription
DSETypeException
java.lang.Object convertFrom(java.lang.Object obj, PropertyDescription pd, boolean byReference) throws DSETypeException
obj
- java.lang.Objectpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- boolean
DSETypeException
java.lang.Object convertFrom(java.lang.Object obj, java.lang.String convType, PropertyDescription pd, boolean byReference) throws DSETypeException
obj
- java.lang.ObjectconvType
- java.lang.Stringpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- boolean
DSETypeException
java.lang.Object convertFrom(java.lang.Object obj, java.lang.String convType, PropertyDescription pd, boolean byReference, java.util.Locale locale) throws DSETypeException
obj
- java.lang.ObjectconvType
- java.lang.Stringpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- booleanlocale
- Locale
DSETypeException
java.lang.Object convertFrom(java.lang.Object obj, java.lang.String convType, PropertyDescription pd, boolean byReference, java.util.Locale locale, Hashtable parameters) throws DSETypeException
obj
- java.lang.ObjectconvType
- java.lang.Stringpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- booleanlocale
- Localeparameters
- com.ibm.btt.base.Hashtable
DSETypeException
java.lang.Object convertTo(java.lang.Object obj, PropertyDescription pd) throws DSETypeException
obj
- java.lang.Objectpd
- com.ibm.btt.base.types.PropertyDescription
DSETypeException
java.lang.Object convertTo(java.lang.Object obj, PropertyDescription pd, boolean byReference) throws DSETypeException
obj
- java.lang.Objectpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- boolean
DSETypeException
java.lang.Object convertTo(java.lang.Object obj, java.lang.String convType, PropertyDescription pd, boolean byReference) throws DSETypeException
obj
- java.lang.ObjectconvType
- java.lang.Stringpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- boolean
DSETypeException
java.lang.Object convertTo(java.lang.Object obj, java.lang.String convType, PropertyDescription pd, boolean byReference, java.util.Locale locale) throws DSETypeException
obj
- java.lang.ObjectconvType
- java.lang.Stringpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- booleanlocale
- Locale
DSETypeException
java.lang.Object convertTo(java.lang.Object obj, java.lang.String convType, PropertyDescription pd, boolean byReference, java.util.Locale locale, Hashtable parameters) throws DSETypeException
obj
- java.lang.ObjectconvType
- java.lang.Stringpd
- com.ibm.btt.base.types.PropertyDescriptionbyReference
- booleanlocale
- Localeparameters
- com.ibm.btt.base.Hashtable
DSETypeException
void formatToWriter(java.lang.Object value, java.lang.String conversionType, java.io.Writer writer, PropertyDescription descriptor) throws DSETypeException
value
- ObjectconversionType
- Stringwriter
- Writerdescriptor
- PropertyDescription
DSETypeException
void formatToWriter(java.lang.Object value, java.lang.String conversionType, java.io.Writer writer, PropertyDescription descriptor, java.util.Locale locale) throws DSETypeException
value
- ObjectconversionType
- Stringwriter
- Writerdescriptor
- PropertyDescriptionlocale
- Locale
DSETypeException
void formatToWriter(java.lang.Object value, java.lang.String conversionType, java.io.Writer writer, PropertyDescription descriptor, java.util.Locale locale, Hashtable parameters) throws DSETypeException
value
- ObjectconversionType
- Stringwriter
- Writerdescriptor
- PropertyDescriptionlocale
- Localeparameters
- com.ibm.btt.base.Hashtable
DSETypeException
java.lang.String[] getSupportedConversionTypes()
boolean supportsConversionType(java.lang.String conversionType)
conversionType
- String
java.lang.Object unformatFromReader(java.io.Reader reader, java.lang.String conversionType, PropertyDescription descriptor) throws DSETypeException
reader
- ReaderconversionType
- Stringdescriptor
- PropertyDescription
DSETypeException
- - Unformatting is unsuccessfuljava.lang.Object unformatFromReader(java.io.Reader reader, java.lang.String conversionType, PropertyDescription descriptor, java.util.Locale locale) throws DSETypeException
reader
- ReaderconversionType
- Stringdescriptor
- PropertyDescriptionlocale
- Locale
DSETypeException
- - Unformatting is unsuccessfuljava.lang.Object unformatFromReader(java.io.Reader reader, java.lang.String conversionType, PropertyDescription descriptor, java.util.Locale locale, Hashtable parameters) throws DSETypeException
reader
- ReaderconversionType
- Stringdescriptor
- PropertyDescriptionlocale
- Localeparameters
- com.ibm.btt.base.Hashtable
DSETypeException
- - Unformatting is unsuccessfulvoid validateParams(PropertyDescription pd) throws DSETypeException
pd
- com.ibm.btt.base.types.PropertyDescription
DSETypeException
- - If parameter validation fails
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |