Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.atom.AbstractAtomElementBuilder<T>
      extended by org.apache.cxf.jaxrs.ext.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 getPublished(T pojo)
           
 String getSummary(T pojo)
           
 
Methods inherited from class org.apache.cxf.jaxrs.ext.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

Apache CXF API

Apache CXF