Package org.faktorips.runtime.xml
Interface IIpsXmlAdapter<ValueType,BoundType>
- Type Parameters:
BoundType
- the Java type to be mappedValueType
- the type to be used in the XML
- All Known Subinterfaces:
IIpsDecimalAdapter
,IIpsLocalDateAdapter
,IIpsLocalDateTimeAdapter
,IIpsLocalTimeAdapter
,IIpsMoneyAdapter
,IIpsMonthAdapter
,IIpsMonthDayAdapter
,IIpsYearAdapter
- All Known Implementing Classes:
IpsProductConfigurationXmlAdapter
,LocalDateAdapter
,LocalDateTimeAdapter
,LocalTimeAdapter
,MonthAdapter
,MonthDayAdapter
,ProductConfigurationXmlAdapter
public interface IIpsXmlAdapter<ValueType,BoundType>
Adapts a Java type for XML marshaling.
-
Method Summary
-
Method Details
-
unmarshal
Convert a value type to a bound type.- Parameters:
v
- The value to be converted. Can be null.- Throws:
Exception
- if there's an error during the conversion.
-
marshal
Convert a bound type to a value type.- Parameters:
v
- The value to be converted. Can be null.- Throws:
Exception
- if there's an error during the conversion.
-