Apache CXF API

Interface AtomElementWriter<T extends Element,E>

Type Parameters:
T - Type of Atom element, Feed or Entry
E - Type of objects which will be mapped to feed or entry

public interface AtomElementWriter<T extends 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)

Method Detail


void writeTo(T element,
             E pojoElement)
element - Feed or Entry instance
pojoElement - An object which needs to be mapped to the feed or entry

Apache CXF API

Apache CXF