org.kuali.common.util.xml.jaxb.adapter
Class OmitOptionalIntegerAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Integer,com.google.common.base.Optional<Integer>>
      extended by org.kuali.common.util.xml.jaxb.adapter.OmitOptionalIntegerAdapter

public class OmitOptionalIntegerAdapter
extends XmlAdapter<Integer,com.google.common.base.Optional<Integer>>


Constructor Summary
OmitOptionalIntegerAdapter()
           
 
Method Summary
 Integer marshal(com.google.common.base.Optional<Integer> optional)
           
 com.google.common.base.Optional<Integer> unmarshal(Integer value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OmitOptionalIntegerAdapter

public OmitOptionalIntegerAdapter()
Method Detail

marshal

public Integer marshal(com.google.common.base.Optional<Integer> optional)
Specified by:
marshal in class XmlAdapter<Integer,com.google.common.base.Optional<Integer>>

unmarshal

public com.google.common.base.Optional<Integer> unmarshal(Integer value)
Specified by:
unmarshal in class XmlAdapter<Integer,com.google.common.base.Optional<Integer>>


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.