Class ParameterDecoder<T>
- java.lang.Object
-
- org.smooks.engine.resource.config.ParameterDecoder<T>
-
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
PropertyListParameterDecoder
,TokenizedStringParameterDecoder
public abstract class ParameterDecoder<T> extends Object implements ContentHandler
Abstract Parameter Decoder. Decodes a parameterString
value to anObject
. The actual decodedObject
type depends on the implementation.- Author:
- tfennelly
-
-
Constructor Summary
Constructors Constructor Description ParameterDecoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Object
decodeValue(T value)
Decode the supplied parameter value.
-
-
-
Method Detail
-
decodeValue
public abstract Object decodeValue(T value) throws ParameterDecodeException
Decode the supplied parameter value.- Parameters:
value
- The value to be decoded.- Returns:
- The decode value Object.
- Throws:
ParameterDecodeException
- Unable to decode parameter value.
-
-