Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

HTML

...

Apache Wink provides a set of providers that are capable of serializing a number of data models (SyndEntry , and SyndFeed and HtmlDescriptor) as HTML. The following tables list these providers.

HtmlProvider

TBD

 

Supported

Media Types

Data model

Provider registration Entity

Read

No
N/A

N/A

Write

Yes

text/html

HtmlDescriptor

HtmlSyndEntryProvider

TBD

 

Supported

Media Types

Entity

Read

No

N/A

N/A

Write

Yes

text/html

SyndEntry

HtmlSyndFeedProvid

TBD

...

 

...

Supported

...

Media Types

...

Entity

...

Read

...

No

...

N/A

...

N/A

...

Write

...

Yes

...

text/html

...

org.apache.wink
.common.model
.synd.SyndFeed

org.apache.wink
.common.model
.synd.SyndEntry

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.