org.apache.cxf.jaxrs.provider.atom
Class AbstractEntryBuilder<T>
java.lang.Object
org.apache.cxf.jaxrs.provider.atom.AbstractAtomElementBuilder<T>
org.apache.cxf.jaxrs.provider.atom.AbstractEntryBuilder<T>
- Type Parameters:
T
- Type of objects which will be mapped to entries
public abstract class AbstractEntryBuilder<T>
- extends AbstractAtomElementBuilder<T>
A callback-style provider which can be used to map an object to Atom Entry
without having to deal directly with types representing Atom entries
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntryBuilder
public AbstractEntryBuilder()
getPublished
public String getPublished(T pojo)
- Parameters:
pojo
- Object which is being mapped
- Returns:
- element publication date
getSummary
public String getSummary(T pojo)
- Parameters:
pojo
- Object which is being mapped
- Returns:
- element summary
getContent
public String getContent(T pojo)
- Parameters:
pojo
- Object which is being mapped
- Returns:
- entry content
Apache CXF