com.google.gdata.data.youtube
Class YtGender

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.youtube.YtGender
All Implemented Interfaces:
Extension

public class YtGender
extends AbstractExtension

Object representation for the yt:gender tag


Nested Class Summary
static class YtGender.Value
          Gender Value.
 
Constructor Summary
YtGender()
          Creates an empty tag.
YtGender(YtGender.Value gender)
          Creates a tag and initializes its content.
 
Method Summary
 YtGender.Value getGender()
          Gets the gender.
 void setGender(YtGender.Value gender)
          Sets the gender.
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YtGender

public YtGender()
Creates an empty tag.


YtGender

public YtGender(YtGender.Value gender)
Creates a tag and initializes its content.

Parameters:
gender - YtGender.Value.FEMALE, YtGender.Value.MALE or null
Method Detail

getGender

public YtGender.Value getGender()
Gets the gender.

Returns:
YtGender.Value.FEMALE, YtGender.Value.MALE or null

setGender

public void setGender(YtGender.Value gender)
Sets the gender.

Parameters:
gender - YtGender.Value.FEMALE, YtGender.Value.MALE or null