|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.atom.AtomFeedReader
public class AtomFeedReader
Convert application/atom+xml;type=feed to class org.apache.abdera.model.Feed
Field Summary | |
---|---|
protected AbderaService |
abderaService
|
Constructor Summary | |
---|---|
AtomFeedReader()
|
Method Summary | |
---|---|
Map<String,Object> |
createScriptParameters(WebScriptRequest req,
WebScriptResponse res)
Create script parameters specific to source mimetype |
Class<org.apache.abdera.model.Feed> |
getDestinationClass()
Gets the Java Class to convert to |
String |
getSourceMimetype()
Gets the source mimetype to convert from |
org.apache.abdera.model.Feed |
read(WebScriptRequest req)
Converts mimetype to Java Object |
void |
setAbderaService(AbderaService abderaService)
Sets the Abdera Service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbderaService abderaService
Constructor Detail |
---|
public AtomFeedReader()
Method Detail |
---|
public void setAbderaService(AbderaService abderaService)
abderaService
- public Class<org.apache.abdera.model.Feed> getDestinationClass()
FormatReader
getDestinationClass
in interface FormatReader<org.apache.abdera.model.Feed>
public String getSourceMimetype()
FormatReader
getSourceMimetype
in interface FormatReader<org.apache.abdera.model.Feed>
public org.apache.abdera.model.Feed read(WebScriptRequest req)
FormatReader
read
in interface FormatReader<org.apache.abdera.model.Feed>
req
- web script request
public Map<String,Object> createScriptParameters(WebScriptRequest req, WebScriptResponse res)
FormatReader
createScriptParameters
in interface FormatReader<org.apache.abdera.model.Feed>
req
- web script requestres
- web script response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |