org.ow2.orchestra.util
Class JAXBUtils.JAXBMapAdapter<K,V,W>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,Map<K,V>>
org.ow2.orchestra.util.JAXBUtils.JAXBMapAdapter<K,V,W>
- Direct Known Subclasses:
- JAXBUtils.JAXBMapDefinitionsAdapter, JAXBUtils.JAXBMapDocumentAdapter, JAXBUtils.JAXBMapNodeAdapter
- Enclosing class:
- JAXBUtils
public static class JAXBUtils.JAXBMapAdapter<K,V,W>
- extends javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,Map<K,V>>
Inspired from XmlAdapter
javadoc example.
- Author:
- Guillaume Porcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueAdapter
protected javax.xml.bind.annotation.adapters.XmlAdapter<W,V> valueAdapter
JAXBUtils.JAXBMapAdapter
public JAXBUtils.JAXBMapAdapter()
unmarshal
public Map<K,V> unmarshal(JAXBUtils.JAXBMapAdapter.InternalMapType<K,W> value)
throws Exception
- Specified by:
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,Map<K,V>>
- Throws:
Exception
marshal
public JAXBUtils.JAXBMapAdapter.InternalMapType<K,W> marshal(Map<K,V> value)
throws Exception
- Specified by:
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,Map<K,V>>
- Throws:
Exception
Copyright © 2011 OW2 Consortium. All Rights Reserved.