Apache CXF API

org.apache.cxf.jaxrs.provider.atom
Interface AtomElementReader<T extends org.apache.abdera.model.Element,E>

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

public interface AtomElementReader<T extends org.apache.abdera.model.Element,E>

A callback-style interface which can be used to deserialize an Atom Feed or Entry into a custom object without having to introduce direct dependencies on Abdera API in the 'main' service code


Method Summary
 E readFrom(T element)
           
 

Method Detail

readFrom

E readFrom(T element)
Parameters:
element - Feed or Entry instance
Returns:
pojoElement

Apache CXF API

Apache CXF