Package org.w3._1999.xhtml
Class Option
- java.lang.Object
-
- org.w3._1999.xhtml.Option
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Option extends java.lang.Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/> <attribute name="selected"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="selected"/> </restriction> </simpleType> </attribute> <attribute name="disabled"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="disabled"/> </restriction> </simpleType> </attribute> <attribute name="label" type="{http://www.w3.org/1999/xhtml}Text" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>clazzprotected java.lang.Stringcontentprotected java.lang.Stringdirprotected java.lang.Stringdisabledprotected java.lang.Stringidprotected java.lang.Stringlabelprotected java.lang.Stringlangprotected java.lang.StringlangAttributeprotected java.lang.Stringonclickprotected java.lang.Stringondblclickprotected java.lang.Stringonkeydownprotected java.lang.Stringonkeypressprotected java.lang.Stringonkeyupprotected java.lang.Stringonmousedownprotected java.lang.Stringonmousemoveprotected java.lang.Stringonmouseoutprotected java.lang.Stringonmouseoverprotected java.lang.Stringonmouseupprotected java.lang.Stringselectedprotected java.lang.Stringstyleprotected java.lang.Stringtitleprotected java.lang.Stringvalue
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<java.lang.String>getClazz()Gets the value of the clazz property.java.lang.StringgetContent()Gets the value of the content property.java.lang.StringgetDir()Gets the value of the dir property.java.lang.StringgetDisabled()Gets the value of the disabled property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetLabel()Gets the value of the label property.java.lang.StringgetLang()Gets the value of the lang property.java.lang.StringgetLangAttribute()Gets the value of the langAttribute property.java.lang.StringgetOnclick()Gets the value of the onclick property.java.lang.StringgetOndblclick()Gets the value of the ondblclick property.java.lang.StringgetOnkeydown()Gets the value of the onkeydown property.java.lang.StringgetOnkeypress()Gets the value of the onkeypress property.java.lang.StringgetOnkeyup()Gets the value of the onkeyup property.java.lang.StringgetOnmousedown()Gets the value of the onmousedown property.java.lang.StringgetOnmousemove()Gets the value of the onmousemove property.java.lang.StringgetOnmouseout()Gets the value of the onmouseout property.java.lang.StringgetOnmouseover()Gets the value of the onmouseover property.java.lang.StringgetOnmouseup()Gets the value of the onmouseup property.java.lang.StringgetSelected()Gets the value of the selected property.java.lang.StringgetStyle()Gets the value of the style property.java.lang.StringgetTitle()Gets the value of the title property.java.lang.StringgetValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetContent(java.lang.String value)Sets the value of the content property.voidsetDir(java.lang.String value)Sets the value of the dir property.voidsetDisabled(java.lang.String value)Sets the value of the disabled property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetLabel(java.lang.String value)Sets the value of the label property.voidsetLang(java.lang.String value)Sets the value of the lang property.voidsetLangAttribute(java.lang.String value)Sets the value of the langAttribute property.voidsetOnclick(java.lang.String value)Sets the value of the onclick property.voidsetOndblclick(java.lang.String value)Sets the value of the ondblclick property.voidsetOnkeydown(java.lang.String value)Sets the value of the onkeydown property.voidsetOnkeypress(java.lang.String value)Sets the value of the onkeypress property.voidsetOnkeyup(java.lang.String value)Sets the value of the onkeyup property.voidsetOnmousedown(java.lang.String value)Sets the value of the onmousedown property.voidsetOnmousemove(java.lang.String value)Sets the value of the onmousemove property.voidsetOnmouseout(java.lang.String value)Sets the value of the onmouseout property.voidsetOnmouseover(java.lang.String value)Sets the value of the onmouseover property.voidsetOnmouseup(java.lang.String value)Sets the value of the onmouseup property.voidsetSelected(java.lang.String value)Sets the value of the selected property.voidsetStyle(java.lang.String value)Sets the value of the style property.voidsetTitle(java.lang.String value)Sets the value of the title property.voidsetValue(java.lang.String value)Sets the value of the value property.java.lang.StringtoString()OptionwithClazz(java.lang.String... values)OptionwithClazz(java.util.Collection<java.lang.String> values)OptionwithContent(java.lang.String value)OptionwithDir(java.lang.String value)OptionwithDisabled(java.lang.String value)OptionwithId(java.lang.String value)OptionwithLabel(java.lang.String value)OptionwithLang(java.lang.String value)OptionwithLangAttribute(java.lang.String value)OptionwithOnclick(java.lang.String value)OptionwithOndblclick(java.lang.String value)OptionwithOnkeydown(java.lang.String value)OptionwithOnkeypress(java.lang.String value)OptionwithOnkeyup(java.lang.String value)OptionwithOnmousedown(java.lang.String value)OptionwithOnmousemove(java.lang.String value)OptionwithOnmouseout(java.lang.String value)OptionwithOnmouseover(java.lang.String value)OptionwithOnmouseup(java.lang.String value)OptionwithSelected(java.lang.String value)OptionwithStyle(java.lang.String value)OptionwithTitle(java.lang.String value)OptionwithValue(java.lang.String value)
-
-
-
Field Detail
-
content
protected java.lang.String content
-
selected
protected java.lang.String selected
-
disabled
protected java.lang.String disabled
-
label
protected java.lang.String label
-
value
protected java.lang.String value
-
onclick
protected java.lang.String onclick
-
ondblclick
protected java.lang.String ondblclick
-
onmousedown
protected java.lang.String onmousedown
-
onmouseup
protected java.lang.String onmouseup
-
onmouseover
protected java.lang.String onmouseover
-
onmousemove
protected java.lang.String onmousemove
-
onmouseout
protected java.lang.String onmouseout
-
onkeypress
protected java.lang.String onkeypress
-
onkeydown
protected java.lang.String onkeydown
-
onkeyup
protected java.lang.String onkeyup
-
id
protected java.lang.String id
-
clazz
protected java.util.List<java.lang.String> clazz
-
style
protected java.lang.String style
-
title
protected java.lang.String title
-
langAttribute
protected java.lang.String langAttribute
-
lang
protected java.lang.String lang
-
dir
protected java.lang.String dir
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Gets the value of the content property.- Returns:
- possible object is
String
-
setContent
public void setContent(java.lang.String value)
Sets the value of the content property.- Parameters:
value- allowed object isString
-
getSelected
public java.lang.String getSelected()
Gets the value of the selected property.- Returns:
- possible object is
String
-
setSelected
public void setSelected(java.lang.String value)
Sets the value of the selected property.- Parameters:
value- allowed object isString
-
getDisabled
public java.lang.String getDisabled()
Gets the value of the disabled property.- Returns:
- possible object is
String
-
setDisabled
public void setDisabled(java.lang.String value)
Sets the value of the disabled property.- Parameters:
value- allowed object isString
-
getLabel
public java.lang.String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(java.lang.String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getValue
public java.lang.String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(java.lang.String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getOnclick
public java.lang.String getOnclick()
Gets the value of the onclick property.- Returns:
- possible object is
String
-
setOnclick
public void setOnclick(java.lang.String value)
Sets the value of the onclick property.- Parameters:
value- allowed object isString
-
getOndblclick
public java.lang.String getOndblclick()
Gets the value of the ondblclick property.- Returns:
- possible object is
String
-
setOndblclick
public void setOndblclick(java.lang.String value)
Sets the value of the ondblclick property.- Parameters:
value- allowed object isString
-
getOnmousedown
public java.lang.String getOnmousedown()
Gets the value of the onmousedown property.- Returns:
- possible object is
String
-
setOnmousedown
public void setOnmousedown(java.lang.String value)
Sets the value of the onmousedown property.- Parameters:
value- allowed object isString
-
getOnmouseup
public java.lang.String getOnmouseup()
Gets the value of the onmouseup property.- Returns:
- possible object is
String
-
setOnmouseup
public void setOnmouseup(java.lang.String value)
Sets the value of the onmouseup property.- Parameters:
value- allowed object isString
-
getOnmouseover
public java.lang.String getOnmouseover()
Gets the value of the onmouseover property.- Returns:
- possible object is
String
-
setOnmouseover
public void setOnmouseover(java.lang.String value)
Sets the value of the onmouseover property.- Parameters:
value- allowed object isString
-
getOnmousemove
public java.lang.String getOnmousemove()
Gets the value of the onmousemove property.- Returns:
- possible object is
String
-
setOnmousemove
public void setOnmousemove(java.lang.String value)
Sets the value of the onmousemove property.- Parameters:
value- allowed object isString
-
getOnmouseout
public java.lang.String getOnmouseout()
Gets the value of the onmouseout property.- Returns:
- possible object is
String
-
setOnmouseout
public void setOnmouseout(java.lang.String value)
Sets the value of the onmouseout property.- Parameters:
value- allowed object isString
-
getOnkeypress
public java.lang.String getOnkeypress()
Gets the value of the onkeypress property.- Returns:
- possible object is
String
-
setOnkeypress
public void setOnkeypress(java.lang.String value)
Sets the value of the onkeypress property.- Parameters:
value- allowed object isString
-
getOnkeydown
public java.lang.String getOnkeydown()
Gets the value of the onkeydown property.- Returns:
- possible object is
String
-
setOnkeydown
public void setOnkeydown(java.lang.String value)
Sets the value of the onkeydown property.- Parameters:
value- allowed object isString
-
getOnkeyup
public java.lang.String getOnkeyup()
Gets the value of the onkeyup property.- Returns:
- possible object is
String
-
setOnkeyup
public void setOnkeyup(java.lang.String value)
Sets the value of the onkeyup property.- Parameters:
value- allowed object isString
-
getId
public java.lang.String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getClazz
public java.util.List<java.lang.String> getClazz()
Gets the value of the clazz property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the clazz property.For example, to add a new item, do as follows:
getClazz().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getStyle
public java.lang.String getStyle()
Gets the value of the style property.- Returns:
- possible object is
String
-
setStyle
public void setStyle(java.lang.String value)
Sets the value of the style property.- Parameters:
value- allowed object isString
-
getTitle
public java.lang.String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(java.lang.String value)
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getLangAttribute
public java.lang.String getLangAttribute()
Gets the value of the langAttribute property.- Returns:
- possible object is
String
-
setLangAttribute
public void setLangAttribute(java.lang.String value)
Sets the value of the langAttribute property.- Parameters:
value- allowed object isString
-
getLang
public java.lang.String getLang()
Gets the value of the lang property.- Returns:
- possible object is
String
-
setLang
public void setLang(java.lang.String value)
Sets the value of the lang property.- Parameters:
value- allowed object isString
-
getDir
public java.lang.String getDir()
Gets the value of the dir property.- Returns:
- possible object is
String
-
setDir
public void setDir(java.lang.String value)
Sets the value of the dir property.- Parameters:
value- allowed object isString
-
withContent
public Option withContent(java.lang.String value)
-
withSelected
public Option withSelected(java.lang.String value)
-
withDisabled
public Option withDisabled(java.lang.String value)
-
withLabel
public Option withLabel(java.lang.String value)
-
withValue
public Option withValue(java.lang.String value)
-
withOnclick
public Option withOnclick(java.lang.String value)
-
withOndblclick
public Option withOndblclick(java.lang.String value)
-
withOnmousedown
public Option withOnmousedown(java.lang.String value)
-
withOnmouseup
public Option withOnmouseup(java.lang.String value)
-
withOnmouseover
public Option withOnmouseover(java.lang.String value)
-
withOnmousemove
public Option withOnmousemove(java.lang.String value)
-
withOnmouseout
public Option withOnmouseout(java.lang.String value)
-
withOnkeypress
public Option withOnkeypress(java.lang.String value)
-
withOnkeydown
public Option withOnkeydown(java.lang.String value)
-
withOnkeyup
public Option withOnkeyup(java.lang.String value)
-
withId
public Option withId(java.lang.String value)
-
withClazz
public Option withClazz(java.lang.String... values)
-
withClazz
public Option withClazz(java.util.Collection<java.lang.String> values)
-
withStyle
public Option withStyle(java.lang.String value)
-
withTitle
public Option withTitle(java.lang.String value)
-
withLangAttribute
public Option withLangAttribute(java.lang.String value)
-
withLang
public Option withLang(java.lang.String value)
-
withDir
public Option withDir(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
-