|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.extension.atomapi.AtomUtils
AtomUtils
Field Summary |
Constructor Summary | |
AtomUtils()
|
Method Summary | |
static org.intabulas.sandler.elements.Entry |
fromBlogEntry(Blog blog,
BlogUser user,
BlogEntry blogentry,
java.lang.String servletPath)
Generate an Atom Entry object from a Blojsom BlogEntry object |
static org.intabulas.sandler.elements.Entry |
fromBlogEntrySearch(Blog blog,
BlogUser user,
BlogEntry blogentry,
java.lang.String servletMapping)
Generates a slim Entry object (tile and id only) from a BlogEntry object |
static java.lang.String |
generateNextNonce(BlogUser user)
Generate a NONCE value based on the the current blog |
static java.lang.String |
getSOAPActionMethod(java.lang.String soapaction)
Extract the AtomAPI Method off the end of the SOAPActionHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AtomUtils()
Method Detail |
public static java.lang.String generateNextNonce(BlogUser user)
user
- BlogUser instance for the particular blog
public static org.intabulas.sandler.elements.Entry fromBlogEntry(Blog blog, BlogUser user, BlogEntry blogentry, java.lang.String servletPath)
blog
- Blog instanceuser
- BlogUser instanceblogentry
- BlogEntry to convertservletPath
- URL path to Atom API servlet
public static org.intabulas.sandler.elements.Entry fromBlogEntrySearch(Blog blog, BlogUser user, BlogEntry blogentry, java.lang.String servletMapping)
blog
- Blog instanceuser
- BlogUser instanceblogentry
- BlogEntry to convertservletMapping
- Servlet mapping for the Atom API
public static java.lang.String getSOAPActionMethod(java.lang.String soapaction)
soapaction
- the contents of the SOAPAction header
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |