public class FEELCodeMarshaller extends Object implements FEELMarshaller<String>
Modifier and Type | Field and Description |
---|---|
static FEELCodeMarshaller |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
marshall(Object value)
Marshalls the given value into FEEL code that can be executed to
reconstruct the value.
|
Object |
unmarshall(Type feelType,
String value)
Unmarshalls the string into a FEEL value by executing it.
|
public static final FEELCodeMarshaller INSTANCE
public String marshall(Object value)
marshall
in interface FEELMarshaller<String>
value
- the FEEL value to be marshalledpublic Object unmarshall(Type feelType, String value)
unmarshall
in interface FEELMarshaller<String>
feelType
- this parameter is ignored by this marshaller and can be set to nullvalue
- the FEEL code to execute for unmarshallingCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.