org.kuali.common.util.xml.jaxb.adapter
Class FlattenOptionalStringAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,com.google.common.base.Optional<String>>
org.kuali.common.util.xml.jaxb.adapter.FlattenOptionalStringAdapter
public final class FlattenOptionalStringAdapter
- extends XmlAdapter<String,com.google.common.base.Optional<String>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlattenOptionalStringAdapter
public FlattenOptionalStringAdapter()
FlattenOptionalStringAdapter
public FlattenOptionalStringAdapter(String carriageReturnReplacement,
String linefeedReplacement)
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>>
getCarriageReturnReplacement
public String getCarriageReturnReplacement()
getLinefeedReplacement
public String getLinefeedReplacement()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.