org.kuali.rice.kim.api.jaxb
Class QualificationListAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<QualificationList,Map<String,String>>
      extended by org.kuali.rice.kim.api.jaxb.QualificationListAdapter

public class QualificationListAdapter
extends XmlAdapter<QualificationList,Map<String,String>>

An XML adapter that converts between QualificationList objects and Map objects. Unmarshalled keys and values will automatically be trimmed if non-null.

This adapter will throw an exception during unmarshalling if blank or duplicate keys are encountered.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
QualificationListAdapter()
           
 
Method Summary
 QualificationList marshal(Map<String,String> v)
           
 Map<String,String> unmarshal(QualificationList v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualificationListAdapter

public QualificationListAdapter()
Method Detail

unmarshal

public Map<String,String> unmarshal(QualificationList v)
                             throws Exception
Specified by:
unmarshal in class XmlAdapter<QualificationList,Map<String,String>>
Throws:
Exception
See Also:
XmlAdapter.unmarshal(java.lang.Object)

marshal

public QualificationList marshal(Map<String,String> v)
                          throws Exception
Specified by:
marshal in class XmlAdapter<QualificationList,Map<String,String>>
Throws:
Exception
See Also:
XmlAdapter.marshal(java.lang.Object)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.