Apache CXF API

org.apache.cxf.jaxrs.provider.atom
Class AbstractEntryBuilder<T>

java.lang.Object
  extended by org.apache.cxf.jaxrs.provider.atom.AbstractAtomElementBuilder<T>
      extended by 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


Constructor Summary
AbstractEntryBuilder()
           
 
Method Summary
 String getContent(T pojo)
           
 String getPublished(T pojo)
           
 String getSummary(T pojo)
           
 
Methods inherited from class org.apache.cxf.jaxrs.provider.atom.AbstractAtomElementBuilder
getAuthor, getBaseUri, getCategories, getId, getLinks, getMessageContext, getTitle, getUpdated, setMessageContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntryBuilder

public AbstractEntryBuilder()
Method Detail

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 API

Apache CXF