|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.atom.AtomReader
public class AtomReader
Convert application/atom+xml to either org.apache.abdera.model.Entry or org.apache.adbera.model.Feed
Field Summary | |
---|---|
protected AbderaService |
abderaService
|
Constructor Summary | |
---|---|
AtomReader()
|
Method Summary | |
---|---|
Map<String,Object> |
createScriptParameters(WebScriptRequest req,
WebScriptResponse res)
Create script parameters specific to source mimetype |
Class<org.apache.abdera.model.Element> |
getDestinationClass()
Gets the Java Class to convert to |
String |
getSourceMimetype()
Gets the source mimetype to convert from |
org.apache.abdera.model.Element |
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 AtomReader()
Method Detail |
---|
public void setAbderaService(AbderaService abderaService)
abderaService
- public Class<org.apache.abdera.model.Element> getDestinationClass()
FormatReader
getDestinationClass
in interface FormatReader<org.apache.abdera.model.Element>
public String getSourceMimetype()
FormatReader
getSourceMimetype
in interface FormatReader<org.apache.abdera.model.Element>
public org.apache.abdera.model.Element read(WebScriptRequest req)
FormatReader
read
in interface FormatReader<org.apache.abdera.model.Element>
req
- web script request
public Map<String,Object> createScriptParameters(WebScriptRequest req, WebScriptResponse res)
FormatReader
createScriptParameters
in interface FormatReader<org.apache.abdera.model.Element>
req
- web script requestres
- web script response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |