|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.jaxrs.ext.atom.AbstractAtomElementBuilder<T>
T
- Type of objects which will be mapped to feeds or entriespublic abstract class AbstractAtomElementBuilder<T>
A callback-style provider which can be used to map an object to Atom Feed or Entry without having to deal directly with types representing Atom feeds or entries
Constructor Summary | |
---|---|
AbstractAtomElementBuilder()
|
Method Summary | |
---|---|
String |
getAuthor(T pojo)
|
String |
getBaseUri(T pojo)
|
List<String> |
getCategories(T pojo)
|
String |
getId(T pojo)
|
Map<String,String> |
getLinks(T pojo)
Returns a map of link URI to link relations type pairs See Atom Link Relations. |
MessageContext |
getMessageContext()
returns MessageContext |
String |
getTitle(T pojo)
|
String |
getUpdated(T pojo)
|
void |
setMessageContext(MessageContext context)
Sets MessageContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAtomElementBuilder()
Method Detail |
---|
public void setMessageContext(MessageContext context)
context
- message contextpublic MessageContext getMessageContext()
public String getTitle(T pojo)
pojo
- Object which is being mapped
public String getAuthor(T pojo)
pojo
- Object which is being mapped
public String getId(T pojo)
pojo
- Object which is being mapped
public String getBaseUri(T pojo)
pojo
- Object which is being mapped
public String getUpdated(T pojo)
pojo
- Object which is being mapped
public List<String> getCategories(T pojo)
pojo
- Object which is being mapped
public Map<String,String> getLinks(T pojo)
pojo
- Object which is being mapped
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |