public final class StringValueTransformer extends Object implements Transformer, Serializable
String.valueOf
on the input object.Modifier and Type | Field and Description |
---|---|
static Transformer |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
static Transformer |
getInstance()
Factory returning the singleton instance.
|
Object |
transform(Object input)
Transforms the input to result by calling
String.valueOf . |
public static final Transformer INSTANCE
public static Transformer getInstance()
public Object transform(Object input)
String.valueOf
.transform
in interface Transformer
input
- the input object to transformCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.