public class

Stats

extends Object
implements Extension
java.lang.Object
   ↳ com.google.api.gbase.client.Stats

Class Overview

Object representation for the tag gm:stats.

Summary

Nested Classes
class Stats.Statistics Information about one specific use (impressions, clicks, page views). 
Fields
private final Stats.Statistics clicks
private final Stats.Statistics impressions
private final Stats.Statistics pageViews
Public Constructors
Stats()
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
Stats.Statistics getClicks()
Gets click count.
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
Gets an XML element handler for the extension.
Stats.Statistics getImpressions()
Gets impression count.
Stats.Statistics getPageViews()
Gets page view count.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gdata.data.Extension

Fields

private final Stats.Statistics clicks

private final Stats.Statistics impressions

private final Stats.Statistics pageViews

Public Constructors

public Stats ()

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public Stats.Statistics getClicks ()

Gets click count.

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

Gets an XML element handler for the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler
Throws
IOException
ParseException

public Stats.Statistics getImpressions ()

Gets impression count.

public Stats.Statistics getPageViews ()

Gets page view count.