Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.atom.AbstractAtomElementBuilder<T>
      extended by org.apache.cxf.jaxrs.ext.atom.AbstractFeedBuilder<T>
Type Parameters:
T - Type of objects which will be mapped to feeds or entries

public abstract class AbstractFeedBuilder<T>
extends AbstractAtomElementBuilder<T>

A callback-style provider which can be used to map an object to Atom Feed without having to deal directly with types representing Atom feeds


Constructor Summary
AbstractFeedBuilder()
           
 
Method Summary
 String getIcon(T pojo)
           
 String getLogo(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

AbstractFeedBuilder

public AbstractFeedBuilder()
Method Detail

getIcon

public String getIcon(T pojo)
Parameters:
pojo - Object which is being mapped
Returns:
feed icon uri

getLogo

public String getLogo(T pojo)
Parameters:
pojo - Object which is being mapped
Returns:
feed logo uri

Apache CXF API

Apache CXF