uk.ac.ncl.cs.instantsoap.wsapi.jaxb
Class SetAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ArrayList<String>,Set<String>>
uk.ac.ncl.cs.instantsoap.wsapi.jaxb.SetAdapter
public class SetAdapter
- extends XmlAdapter<ArrayList<String>,Set<String>>
Convince jaxb to work with sets.
- Author:
- Matthew Pocock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetAdapter
public SetAdapter()
unmarshal
public Set<String> unmarshal(ArrayList<String> v)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<ArrayList<String>,Set<String>>
- Throws:
Exception
marshal
public ArrayList<String> marshal(Set<String> v)
throws Exception
- Specified by:
marshal
in class XmlAdapter<ArrayList<String>,Set<String>>
- Throws:
Exception
Copyright © 2006-2008. All Rights Reserved.