Package org.faktorips.runtime.xml.javax
Class DecimalAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,org.faktorips.values.Decimal>
org.faktorips.runtime.xml.javax.DecimalAdapter
- All Implemented Interfaces:
org.faktorips.runtime.xml.IIpsDecimalAdapter,org.faktorips.runtime.xml.IIpsXmlAdapter<String,org.faktorips.values.Decimal>
public class DecimalAdapter
extends XmlAdapter<String,org.faktorips.values.Decimal>
implements org.faktorips.runtime.xml.IIpsDecimalAdapter
XmlAdapter for Decimal. The adapter can be used for individual
elements/attributes or registered in package-info.java:
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters({
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(value = org.faktorips.runtime.jaxb.DecimalAdapter.class),
...
})
package com.acme.foo;
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DecimalAdapter
public DecimalAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshalin interfaceorg.faktorips.runtime.xml.IIpsDecimalAdapter- Specified by:
unmarshalin interfaceorg.faktorips.runtime.xml.IIpsXmlAdapter<String,org.faktorips.values.Decimal> - Specified by:
unmarshalin classXmlAdapter<String,org.faktorips.values.Decimal>
-
marshal
- Specified by:
marshalin interfaceorg.faktorips.runtime.xml.IIpsDecimalAdapter- Specified by:
marshalin interfaceorg.faktorips.runtime.xml.IIpsXmlAdapter<String,org.faktorips.values.Decimal> - Specified by:
marshalin classXmlAdapter<String,org.faktorips.values.Decimal>
-