|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Formatter<DataType,InternalType>
Formats raw data according to the information that's provided by a Content instance. The raw data will be
loaded, optionally transformed and eventually returned.
| Method Summary | |
|---|---|
DataType |
format(Content content,
ContentTransformer<InternalType> transformer)
Formats raw data and returns it in a DataType that's
supported by the back-end stores. |
| Method Detail |
|---|
DataType format(Content content,
ContentTransformer<InternalType> transformer)
throws FormatException
DataType that's
supported by the back-end stores.
content - a Content instance that contains the raw
data with additional information that describes the storage and
formatting of the processed datatransformer - a transformer that will be used to modify raw data
after it has been loaded; or
null if the data shouldn't be transformed
FormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||