public final class FlattenOptionalStringAdapter extends XmlAdapter<String,com.google.common.base.Optional<String>>
Constructor and Description |
---|
FlattenOptionalStringAdapter() |
FlattenOptionalStringAdapter(String carriageReturnReplacement,
String linefeedReplacement) |
Modifier and Type | Method and Description |
---|---|
String |
getCarriageReturnReplacement() |
String |
getLinefeedReplacement() |
String |
marshal(com.google.common.base.Optional<String> optional) |
com.google.common.base.Optional<String> |
unmarshal(String value) |
public FlattenOptionalStringAdapter()
public FlattenOptionalStringAdapter(String carriageReturnReplacement, String linefeedReplacement)
public String marshal(com.google.common.base.Optional<String> optional)
marshal
in class XmlAdapter<String,com.google.common.base.Optional<String>>
public com.google.common.base.Optional<String> unmarshal(String value)
unmarshal
in class XmlAdapter<String,com.google.common.base.Optional<String>>
public String getCarriageReturnReplacement()
public String getLinefeedReplacement()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.