com.google.gdata.data.media
Class GDataContentHandler.DataContext

java.lang.Object
  extended by com.google.gdata.data.media.GDataContentHandler.DataContext
Enclosing class:
GDataContentHandler

public static class GDataContentHandler.DataContext
extends java.lang.Object

The DataContext class represents the (optional) contextual information that can be configured on a per-thread basis when parsing GData content using Java activation. A value of null for entryClass or feedClass indicates that dynamic adaptation based upon kind category tags should be used to determine the resulting return type. A value of null for extProfile indicates that a new profile should be created for parsing and either initialized by the specified type (feed or entry class) for static typing or via auto-extension for dynamic typing.


Constructor Summary
GDataContentHandler.DataContext(ExtensionProfile extProfile, java.lang.Class<? extends IEntry> entryClass, java.lang.Class<? extends IFeed> feedClass)
           
 
Method Summary
 java.lang.Class<? extends IEntry> getEntryClass()
           
 ExtensionProfile getExtensionProfile()
           
 java.lang.Class<? extends IFeed> getFeedClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDataContentHandler.DataContext

public GDataContentHandler.DataContext(ExtensionProfile extProfile,
                                       java.lang.Class<? extends IEntry> entryClass,
                                       java.lang.Class<? extends IFeed> feedClass)
Method Detail

getExtensionProfile

public ExtensionProfile getExtensionProfile()

getEntryClass

public java.lang.Class<? extends IEntry> getEntryClass()

getFeedClass

public java.lang.Class<? extends IFeed> getFeedClass()