HTML
Apache Wink provides a set of providers that are capable of serializing a number of data models (SyndEntry and SyndFeed) as HTML.
|
Supported |
Media Types |
Data model |
Provider registration |
---|---|---|---|---|
Read |
No |
N/A |
N/A |
N/A |
Write |
Yes |
text/html |
org.apache.wink |
See below. |
Activating the HTML provider
The Apache Wink HTML providers are not enabled by default. In order to activate them they must be registered by the HtmlSyndEntryProvider and the HtmlSyndFeedProvider providers, located in the org.apache.wink.server.internal.providers.entity.html package.
As the HTML providers use a jsps in order to generate the representation the HtmlDefaultRepresentation folder must include all its content and subfolders available for the servlet container.
Example
Detailed example of the HTML implementation can be seen at the QADefect example.