pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.xml.bind
Class CurrencyDetailsXmlAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<CurrencyAdapter,java.util.Currency>
      extended by org.torweg.pulse.util.xml.bind.CurrencyDetailsXmlAdapter

public class CurrencyDetailsXmlAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<CurrencyAdapter,java.util.Currency>

Version:
$Revision: 1426 $
Author:
Christian Schatt

Constructor Summary
CurrencyDetailsXmlAdapter()
           
 
Method Summary
 CurrencyAdapter marshal(java.util.Currency cur)
          Marshals the given Currency to a CurrencyAdapter.
 java.util.Currency unmarshal(CurrencyAdapter cur)
          Unmarshals a Currency from the given CurrencyAdapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyDetailsXmlAdapter

public CurrencyDetailsXmlAdapter()
Method Detail

marshal

public final CurrencyAdapter marshal(java.util.Currency cur)
Marshals the given Currency to a CurrencyAdapter.

Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<CurrencyAdapter,java.util.Currency>
Parameters:
cur - the Currency to marshal
Returns:
the marshaled CurrencyAdapter

unmarshal

public final java.util.Currency unmarshal(CurrencyAdapter cur)
Unmarshals a Currency from the given CurrencyAdapter.

Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<CurrencyAdapter,java.util.Currency>
Parameters:
cur - the CurrencyAdapter to unmarshal
Returns:
the unmarshaled Currency