org.openanzo.atom.client
Class AtomClientUtils

java.lang.Object
  extended by org.openanzo.atom.client.AtomClientUtils
All Implemented Interfaces:
AtomClientConstants

public class AtomClientUtils
extends java.lang.Object
implements AtomClientConstants


Field Summary
 
Fields inherited from interface org.openanzo.atom.client.AtomClientConstants
CACHE_CONTROL_NO_CACHE, CLIENT_ERROR, CONTENT_ATOM_SERVICE_XML, CONTENT_ATOM_XML, CONTENT_JSON, CONTENT_RDF, HEADER_A_IM, HEADER_ACCEPT, HEADER_ALLOW, HEADER_CACHE_CONTROL, HEADER_CONTENT_TYPE, HEADER_ETAG, HEADER_IF_MATCH, HEADER_IF_MODIFIED_SINCE, HEADER_IF_NONE_MATCH, HEADER_IF_UNMODIFIED_SINCE, HTTP_BAD_REQUEST, HTTP_CONFLICT, HTTP_CREATED, HTTP_FORBIDDEN, HTTP_GONE, HTTP_INTERNAL_SERVER_ERROR, HTTP_METHOD_NOT_ALLOWED, HTTP_NOT_AUTHORIZED, HTTP_NOT_FOUND, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_UNSUPPORTED_MEDIA, LINK_REL_ALTERNATE, LINK_REL_COLLECTION, LINK_REL_CONTENT_GRAPH, LINK_REL_EDIT, LINK_REL_EDIT_MEDIA, LINK_REL_FIRST, LINK_REL_HISTORY, LINK_REL_INTROSPECTION, LINK_REL_LAST, LINK_REL_NEXT, LINK_REL_PREVIOUS, LINK_REL_RELATED, LINK_REL_SELF
 
Constructor Summary
AtomClientUtils()
           
 
Method Summary
static java.net.URI getAlternateUri(org.apache.abdera.model.Entry entry)
           
static java.net.URI getAtomLink(org.apache.abdera.model.Entry entry, java.lang.String linkRel)
           
static java.lang.String getCollectionName()
           
static java.net.URI getEditMediaUri(org.apache.abdera.model.Entry entry)
           
static java.net.URI getEditUri(org.apache.abdera.model.Entry entry)
           
static java.net.URI getLink(org.apache.abdera.model.Entry entry, java.lang.String linkRel)
           
static java.lang.String getNewEntryId()
           
static java.net.URI getSelfUri(org.apache.abdera.model.Entry entry)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomClientUtils

public AtomClientUtils()
Method Detail

getEditUri

public static java.net.URI getEditUri(org.apache.abdera.model.Entry entry)
                               throws AtomClientException
Throws:
AtomClientException

getEditMediaUri

public static java.net.URI getEditMediaUri(org.apache.abdera.model.Entry entry)
                                    throws AtomClientException
Throws:
AtomClientException

getSelfUri

public static java.net.URI getSelfUri(org.apache.abdera.model.Entry entry)
                               throws AtomClientException
Throws:
AtomClientException

getAlternateUri

public static java.net.URI getAlternateUri(org.apache.abdera.model.Entry entry)
                                    throws AtomClientException
Throws:
AtomClientException

getAtomLink

public static java.net.URI getAtomLink(org.apache.abdera.model.Entry entry,
                                       java.lang.String linkRel)
                                throws AtomClientException
Throws:
AtomClientException

getLink

public static java.net.URI getLink(org.apache.abdera.model.Entry entry,
                                   java.lang.String linkRel)
                            throws AtomClientException
Throws:
AtomClientException

getNewEntryId

public static java.lang.String getNewEntryId()

getCollectionName

public static java.lang.String getCollectionName()


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.