com.google.gdata.data.media
Class GDataContentHandler.DataContext
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GDataContentHandler.DataContext
public GDataContentHandler.DataContext(ExtensionProfile extProfile,
java.lang.Class<? extends IEntry> entryClass,
java.lang.Class<? extends IFeed> feedClass)
getExtensionProfile
public ExtensionProfile getExtensionProfile()
getEntryClass
public java.lang.Class<? extends IEntry> getEntryClass()
getFeedClass
public java.lang.Class<? extends IFeed> getFeedClass()