public class Optgroup
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java 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">
<sequence>
<element ref="{http://www.w3.org/1999/xhtml}option" maxOccurs="unbounded"/>
</sequence>
<attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
<attribute name="disabled">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="disabled"/>
</restriction>
</simpleType>
</attribute>
<attribute name="label" use="required" type="{http://www.w3.org/1999/xhtml}Text" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
clazz |
protected java.lang.String |
dir |
protected java.lang.String |
disabled |
protected java.lang.String |
id |
protected java.lang.String |
label |
protected java.lang.String |
lang |
protected java.lang.String |
langAttribute |
protected java.lang.String |
onclick |
protected java.lang.String |
ondblclick |
protected java.lang.String |
onkeydown |
protected java.lang.String |
onkeypress |
protected java.lang.String |
onkeyup |
protected java.lang.String |
onmousedown |
protected java.lang.String |
onmousemove |
protected java.lang.String |
onmouseout |
protected java.lang.String |
onmouseover |
protected java.lang.String |
onmouseup |
protected java.util.List<Option> |
option |
protected java.lang.String |
style |
protected java.lang.String |
title |
| Constructor and Description |
|---|
Optgroup() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
java.util.List<java.lang.String> |
getClazz()
Gets the value of the clazz property.
|
java.lang.String |
getDir()
Gets the value of the dir property.
|
java.lang.String |
getDisabled()
Gets the value of the disabled property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getLabel()
Gets the value of the label property.
|
java.lang.String |
getLang()
Gets the value of the lang property.
|
java.lang.String |
getLangAttribute()
Gets the value of the langAttribute property.
|
java.lang.String |
getOnclick()
Gets the value of the onclick property.
|
java.lang.String |
getOndblclick()
Gets the value of the ondblclick property.
|
java.lang.String |
getOnkeydown()
Gets the value of the onkeydown property.
|
java.lang.String |
getOnkeypress()
Gets the value of the onkeypress property.
|
java.lang.String |
getOnkeyup()
Gets the value of the onkeyup property.
|
java.lang.String |
getOnmousedown()
Gets the value of the onmousedown property.
|
java.lang.String |
getOnmousemove()
Gets the value of the onmousemove property.
|
java.lang.String |
getOnmouseout()
Gets the value of the onmouseout property.
|
java.lang.String |
getOnmouseover()
Gets the value of the onmouseover property.
|
java.lang.String |
getOnmouseup()
Gets the value of the onmouseup property.
|
java.util.List<Option> |
getOption()
Gets the value of the option property.
|
java.lang.String |
getStyle()
Gets the value of the style property.
|
java.lang.String |
getTitle()
Gets the value of the title property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDir(java.lang.String value)
Sets the value of the dir property.
|
void |
setDisabled(java.lang.String value)
Sets the value of the disabled property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setLabel(java.lang.String value)
Sets the value of the label property.
|
void |
setLang(java.lang.String value)
Sets the value of the lang property.
|
void |
setLangAttribute(java.lang.String value)
Sets the value of the langAttribute property.
|
void |
setOnclick(java.lang.String value)
Sets the value of the onclick property.
|
void |
setOndblclick(java.lang.String value)
Sets the value of the ondblclick property.
|
void |
setOnkeydown(java.lang.String value)
Sets the value of the onkeydown property.
|
void |
setOnkeypress(java.lang.String value)
Sets the value of the onkeypress property.
|
void |
setOnkeyup(java.lang.String value)
Sets the value of the onkeyup property.
|
void |
setOnmousedown(java.lang.String value)
Sets the value of the onmousedown property.
|
void |
setOnmousemove(java.lang.String value)
Sets the value of the onmousemove property.
|
void |
setOnmouseout(java.lang.String value)
Sets the value of the onmouseout property.
|
void |
setOnmouseover(java.lang.String value)
Sets the value of the onmouseover property.
|
void |
setOnmouseup(java.lang.String value)
Sets the value of the onmouseup property.
|
void |
setStyle(java.lang.String value)
Sets the value of the style property.
|
void |
setTitle(java.lang.String value)
Sets the value of the title property.
|
java.lang.String |
toString() |
Optgroup |
withClazz(java.util.Collection<java.lang.String> values) |
Optgroup |
withClazz(java.lang.String... values) |
Optgroup |
withDir(java.lang.String value) |
Optgroup |
withDisabled(java.lang.String value) |
Optgroup |
withId(java.lang.String value) |
Optgroup |
withLabel(java.lang.String value) |
Optgroup |
withLang(java.lang.String value) |
Optgroup |
withLangAttribute(java.lang.String value) |
Optgroup |
withOnclick(java.lang.String value) |
Optgroup |
withOndblclick(java.lang.String value) |
Optgroup |
withOnkeydown(java.lang.String value) |
Optgroup |
withOnkeypress(java.lang.String value) |
Optgroup |
withOnkeyup(java.lang.String value) |
Optgroup |
withOnmousedown(java.lang.String value) |
Optgroup |
withOnmousemove(java.lang.String value) |
Optgroup |
withOnmouseout(java.lang.String value) |
Optgroup |
withOnmouseover(java.lang.String value) |
Optgroup |
withOnmouseup(java.lang.String value) |
Optgroup |
withOption(java.util.Collection<Option> values) |
Optgroup |
withOption(Option... values) |
Optgroup |
withStyle(java.lang.String value) |
Optgroup |
withTitle(java.lang.String value) |
protected java.util.List<Option> option
protected java.lang.String disabled
protected java.lang.String label
protected java.lang.String id
protected java.util.List<java.lang.String> clazz
protected java.lang.String style
protected java.lang.String title
protected java.lang.String langAttribute
protected java.lang.String lang
protected java.lang.String dir
protected java.lang.String onclick
protected java.lang.String ondblclick
protected java.lang.String onmousedown
protected java.lang.String onmouseup
protected java.lang.String onmouseover
protected java.lang.String onmousemove
protected java.lang.String onmouseout
protected java.lang.String onkeypress
protected java.lang.String onkeydown
protected java.lang.String onkeyup
public java.util.List<Option> getOption()
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 set method for the option property.
For example, to add a new item, do as follows:
getOption().add(newItem);
Objects of the following type(s) are allowed in the list
Option
public java.lang.String getDisabled()
Stringpublic void setDisabled(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLabel()
Stringpublic void setLabel(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.String> getClazz()
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 set method 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
public java.lang.String getStyle()
Stringpublic void setStyle(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTitle()
Stringpublic void setTitle(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLangAttribute()
Stringpublic void setLangAttribute(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLang()
Stringpublic void setLang(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDir()
Stringpublic void setDir(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnclick()
Stringpublic void setOnclick(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOndblclick()
Stringpublic void setOndblclick(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnmousedown()
Stringpublic void setOnmousedown(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnmouseup()
Stringpublic void setOnmouseup(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnmouseover()
Stringpublic void setOnmouseover(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnmousemove()
Stringpublic void setOnmousemove(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnmouseout()
Stringpublic void setOnmouseout(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnkeypress()
Stringpublic void setOnkeypress(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnkeydown()
Stringpublic void setOnkeydown(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getOnkeyup()
Stringpublic void setOnkeyup(java.lang.String value)
value - allowed object is
Stringpublic Optgroup withDisabled(java.lang.String value)
public Optgroup withLabel(java.lang.String value)
public Optgroup withId(java.lang.String value)
public Optgroup withClazz(java.lang.String... values)
public Optgroup withClazz(java.util.Collection<java.lang.String> values)
public Optgroup withStyle(java.lang.String value)
public Optgroup withTitle(java.lang.String value)
public Optgroup withLangAttribute(java.lang.String value)
public Optgroup withLang(java.lang.String value)
public Optgroup withDir(java.lang.String value)
public Optgroup withOnclick(java.lang.String value)
public Optgroup withOndblclick(java.lang.String value)
public Optgroup withOnmousedown(java.lang.String value)
public Optgroup withOnmouseup(java.lang.String value)
public Optgroup withOnmouseover(java.lang.String value)
public Optgroup withOnmousemove(java.lang.String value)
public Optgroup withOnmouseout(java.lang.String value)
public Optgroup withOnkeypress(java.lang.String value)
public Optgroup withOnkeydown(java.lang.String value)
public Optgroup withOnkeyup(java.lang.String value)
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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString