public class YtGender extends AbstractExtension
Modifier and Type | Class and Description |
---|---|
static class |
YtGender.Value
Gender Value.
|
Constructor and Description |
---|
YtGender()
Creates an empty tag.
|
YtGender(YtGender.Value gender)
Creates a tag and initializes its content.
|
Modifier and Type | Method and Description |
---|---|
YtGender.Value |
getGender()
Gets the gender.
|
void |
setGender(YtGender.Value gender)
Sets the gender.
|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
public YtGender()
public YtGender(YtGender.Value gender)
gender
- YtGender.Value.FEMALE
, YtGender.Value.MALE
or null
public YtGender.Value getGender()
YtGender.Value.FEMALE
, YtGender.Value.MALE
or null
public void setGender(YtGender.Value gender)
gender
- YtGender.Value.FEMALE
, YtGender.Value.MALE
or null