org.ow2.orchestra.util
Class JAXBUtils.JAXBMapAdapter<K,V,W>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,java.util.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>,java.util.Map<K,V>>
Inspired from XmlAdapter javadoc example.
- Author:
- Guillaume Porcher
|
Field Summary |
protected javax.xml.bind.annotation.adapters.XmlAdapter<W,V> |
valueAdapter
|
| 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 java.util.Map<K,V> unmarshal(JAXBUtils.JAXBMapAdapter.InternalMapType<K,W> value)
throws java.lang.Exception
- Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,java.util.Map<K,V>>
- Throws:
java.lang.Exception
marshal
public JAXBUtils.JAXBMapAdapter.InternalMapType<K,W> marshal(java.util.Map<K,V> value)
throws java.lang.Exception
- Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JAXBUtils.JAXBMapAdapter.InternalMapType<K,W>,java.util.Map<K,V>>
- Throws:
java.lang.Exception
Copyright © 2011 OW2 Consortium. All Rights Reserved.