Class Overview
A tag containing statistics about the user
Summary
|
[Expand]
Inherited Methods |
From class
com.google.gdata.data.AbstractExtension
|
void
|
consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
|
final
static
void
|
disableStrictValidation()
|
|
final
static
void
|
enableStrictValidation()
|
|
static
boolean
|
eq(Object o1, Object o2)
|
|
void
|
generate(XmlWriter w, ExtensionProfile p)
Generates an XML representation for the extension.
|
|
void
|
generate(XmlWriter w, ExtensionProfile p, XmlNamespace namespace, String localName, List<XmlWriter.Attribute> attrs, AttributeGenerator generator)
Generates the XML into the XML writer.
|
|
void
|
generateAttributes(List<XmlWriter.Attribute> attrs, AttributeGenerator generator)
Generates the attributes in the generator into the list of attributes.
|
|
final
String
|
getExtensionLocalName()
Gets the extension's localname.
|
|
final
XmlNamespace
|
getExtensionNamespace()
Gets the extension's namespace.
|
|
XmlParser.ElementHandler
|
getHandler(ExtensionProfile p, String namespace, String localName, Attributes attrs)
|
|
final
boolean
|
isImmutable()
|
|
final
static
boolean
|
isStrictValidation()
|
|
void
|
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
|
boolean
|
sameClassAs(Object o)
|
|
final
void
|
setImmutable(boolean isImmutable)
|
|
final
static
void
|
throwExceptionForMissingAttribute(String attrName)
Throws an IllegalStateException if the value is required
and it is missing.
|
|
final
void
|
throwExceptionIfImmutable()
Throws an IllegalStateException if this instance is immutable.
|
|
void
|
validate()
Checks the attributes to see if there are any problems.
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gdata.data.Extension
|
Fields
private
long
subscriberCount
private
long
totalUploadViews
private
long
videoWatchCount
private
long
viewCount
How many time the users profile has been viewed? On the web site this
field is called "channel views".
Public Constructors
public
YtUserProfileStatistics
()
Public Methods
public
long
getSubscriberCount
()
public
long
getTotalUploadViews
()
public
long
getVideoWatchCount
()
public
long
getViewCount
()
Returns how many times this channel/profile has been viewed.
public
void
setLastWebAccess
(DateTime lastWebAccess)
public
void
setSubscriberCount
(long sc)
public
void
setTotalUploadViews
(long totalUploadViews)
public
void
setVideoWatchCount
(long vwc)
public
void
setViewCount
(long viewCount)
Protected Methods
protected
void
putAttributes
(AttributeGenerator generator)
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
Parameters
| generator
| Attribute generator
|