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,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.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 java.io.IOException
Extension
public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs) throws ParseException, java.io.IOException
Extension
getHandler
in interface Extension
extProfile
- extension profilenamespace
- extension namespacelocalName
- tag name, without the namespace prefixattrs
- tag attributesParseException
- when an unexpected tag or badly-formatted
XML is detectedjava.io.IOException