public class ObjectConverter extends java.lang.Object implements Converter
Note that this converter should not be added to a tag library due to the potential ambiguities it can creates. Using idref and varref are recommanded.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IDREF_PREFIX |
static java.lang.String |
VARREF_PREFIX |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convert(java.lang.String value,
cookxml.core.DecodeEngine decodeEngine)
Convert a string value into an object type.
|
static Converter |
getInstance() |
public static java.lang.String IDREF_PREFIX
public static java.lang.String VARREF_PREFIX
public static Converter getInstance()
public java.lang.Object convert(java.lang.String value, cookxml.core.DecodeEngine decodeEngine) throws ConverterException
Converter
convert
in interface Converter
value
- the string value to be converted.decodeEngine
- the DecodeEngine to be used.ConverterException