org.apache.cxf.jaxrs.provider.atom
Interface AtomElementWriter<T extends org.apache.abdera.model.Element,E>
- Type Parameters:
T
- Type of Atom element, Feed or EntryE
- Type of objects which will be mapped to feed or entry
public interface AtomElementWriter<T extends org.apache.abdera.model.Element,E>
A callback-style interface which can be used to map an object to an Atom Feed or Entry
without having to introduce direct dependencies on Abdera API in the 'main' service code
Method Summary |
void |
writeTo(T element,
E pojoElement)
|
writeTo
void writeTo(T element,
E pojoElement)
- Parameters:
element
- Feed or Entry instancepojoElement
- An object which needs to be mapped to the feed or entry
Apache CXF