|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataDecoder
Data decoder.
A data decoder converts data (encoded in a String) to an Object of some form, determined by the decoder implementation. There are a number of pre-installed decoders in theorg.milyn.javabean.decoders
package. DataDecoders are used in a numkber of places in Smooks:
DataDecoder.Factory factory class) if the decoder is:
DecodeType annotation.
DataEncoder| Nested Class Summary | |
|---|---|
static class |
DataDecoder.Factory
Factory method for constructing decoders defined in the "decoders" package. |
| Method Summary | |
|---|---|
Object |
decode(String data)
Decode the supplied String data into a new Object data instance. |
| Method Detail |
|---|
Object decode(String data)
throws DataDecodeException
data - Data to be decoded.
DataDecodeException - Error decoding data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||