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

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

public class OmitOptionalStringAdapter
extends XmlAdapter<String,com.google.common.base.Optional<String>>


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

Constructor Detail

OmitOptionalStringAdapter

public OmitOptionalStringAdapter()
Method Detail

marshal

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

unmarshal

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


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