com.google.api.client.xml.atom
Class Atom

java.lang.Object
  extended by com.google.api.client.xml.atom.Atom

public final class Atom
extends Object

Since:
1.0
Author:
Yaniv Inbar

Field Summary
static String ATOM_NAMESPACE
          Atom namespace.
static String CONTENT_TYPE
          Atom content type.
 
Method Summary
static void checkContentType(String contentType)
          Checks the given content type matches the Atom content type specified in CONTENT_TYPE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATOM_NAMESPACE

public static final String ATOM_NAMESPACE
Atom namespace.

See Also:
Constant Field Values

CONTENT_TYPE

public static final String CONTENT_TYPE
Atom content type.

See Also:
Constant Field Values
Method Detail

checkContentType

public static void checkContentType(String contentType)
Checks the given content type matches the Atom content type specified in CONTENT_TYPE.

Throws:
IllegalArgumentException - if content type doesn't match


Copyright © 2011-2012 Google. All Rights Reserved.