public class LambdaConverter extends Object implements Serializable, XMLAppendable
| Modifier and Type | Field and Description |
|---|---|
protected String |
from |
protected Boolean |
nullable |
protected String |
to |
| Constructor and Description |
|---|
LambdaConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
String |
getFrom()
The implementation of
Converter.from(Object). |
String |
getTo()
The implementation of
Converter.to(Object). |
int |
hashCode() |
Boolean |
isNullable()
|
void |
setFrom(String value)
The implementation of
Converter.from(Object). |
void |
setNullable(Boolean value)
Sets the value of the nullable property.
|
void |
setTo(String value)
The implementation of
Converter.to(Object). |
String |
toString() |
LambdaConverter |
withFrom(String value)
The implementation of
Converter.from(Object). |
LambdaConverter |
withNullable(Boolean value) |
LambdaConverter |
withTo(String value)
The implementation of
Converter.to(Object). |
public String getFrom()
Converter.from(Object).public void setFrom(String value)
Converter.from(Object).public String getTo()
Converter.to(Object).public void setTo(String value)
Converter.to(Object).public Boolean isNullable()
Converter.ofNullable(Class, Class, java.util.function.Function, java.util.function.Function) or Converter.of(Class, Class, java.util.function.Function, java.util.function.Function).Booleanpublic void setNullable(Boolean value)
value - allowed object is
Booleanpublic LambdaConverter withFrom(String value)
Converter.from(Object).public LambdaConverter withTo(String value)
Converter.to(Object).public LambdaConverter withNullable(Boolean value)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.