| Modifier and Type | Class and Description |
|---|---|
static class |
Stats.Statistics
Information about one specific use (impressions, clicks, page views).
|
| Constructor and Description |
|---|
Stats() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Stats.Statistics getImpressions()
public Stats.Statistics getClicks()
public Stats.Statistics getPageViews()
public void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException
Extensiongenerate in interface Extensionw - XML writerextProfile - extension profileIOExceptionpublic XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs) throws ParseException, IOException
ExtensiongetHandler in interface ExtensionextProfile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributesParseException - when an unexpected tag or badly-formatted
XML is detectedIOExceptionCopyright © 2012. All Rights Reserved.