Class Button

java.lang.Object
org.w3._1999.xhtml.ButtonContent
org.w3._1999.xhtml.Button
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Button
extends ButtonContent
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.w3.org/1999/xhtml}button.content">
       <attGroup ref="{http://www.w3.org/1999/xhtml}focus"/>
       <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="type" default="submit">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="button"/>
             <enumeration value="submit"/>
             <enumeration value="reset"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="disabled">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="disabled"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String accesskey  
    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 lang  
    protected java.lang.String langAttribute  
    protected java.lang.String name  
    protected java.lang.String onblur  
    protected java.lang.String onclick  
    protected java.lang.String ondblclick  
    protected java.lang.String onfocus  
    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.lang.String style  
    protected java.lang.Integer tabindex  
    protected java.lang.String title  
    protected java.lang.String type  
    protected java.lang.String value  

    Fields inherited from class org.w3._1999.xhtml.ButtonContent

    content
  • Constructor Summary

    Constructors 
    Constructor Description
    Button()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
    java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 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.EqualsStrategy2 strategy)  
    java.lang.String getAccesskey()
    Gets the value of the accesskey property.
    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 getLang()
    Gets the value of the lang property.
    java.lang.String getLangAttribute()
    Gets the value of the langAttribute property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.String getOnblur()
    Gets the value of the onblur 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 getOnfocus()
    Gets the value of the onfocus 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.lang.String getStyle()
    Gets the value of the style property.
    java.lang.Integer getTabindex()
    Gets the value of the tabindex property.
    java.lang.String getTitle()
    Gets the value of the title property.
    java.lang.String getType()
    Gets the value of the type property.
    java.lang.String getValue()
    Gets the value of the value property.
    int hashCode()  
    int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
    void setAccesskey​(java.lang.String value)
    Sets the value of the accesskey property.
    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 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 setName​(java.lang.String value)
    Sets the value of the name property.
    void setOnblur​(java.lang.String value)
    Sets the value of the onblur 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 setOnfocus​(java.lang.String value)
    Sets the value of the onfocus 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 setTabindex​(java.lang.Integer value)
    Sets the value of the tabindex property.
    void setTitle​(java.lang.String value)
    Sets the value of the title property.
    void setType​(java.lang.String value)
    Sets the value of the type property.
    void setValue​(java.lang.String value)
    Sets the value of the value property.
    java.lang.String toString()  
    Button withAccesskey​(java.lang.String value)  
    Button withClazz​(java.lang.String... values)  
    Button withClazz​(java.util.Collection<java.lang.String> values)  
    Button withContent​(java.lang.Object... values)  
    Button withContent​(java.util.Collection<java.lang.Object> values)  
    Button withDir​(java.lang.String value)  
    Button withDisabled​(java.lang.String value)  
    Button withId​(java.lang.String value)  
    Button withLang​(java.lang.String value)  
    Button withLangAttribute​(java.lang.String value)  
    Button withName​(java.lang.String value)  
    Button withOnblur​(java.lang.String value)  
    Button withOnclick​(java.lang.String value)  
    Button withOndblclick​(java.lang.String value)  
    Button withOnfocus​(java.lang.String value)  
    Button withOnkeydown​(java.lang.String value)  
    Button withOnkeypress​(java.lang.String value)  
    Button withOnkeyup​(java.lang.String value)  
    Button withOnmousedown​(java.lang.String value)  
    Button withOnmousemove​(java.lang.String value)  
    Button withOnmouseout​(java.lang.String value)  
    Button withOnmouseover​(java.lang.String value)  
    Button withOnmouseup​(java.lang.String value)  
    Button withStyle​(java.lang.String value)  
    Button withTabindex​(java.lang.Integer value)  
    Button withTitle​(java.lang.String value)  
    Button withType​(java.lang.String value)  
    Button withValue​(java.lang.String value)  

    Methods inherited from class org.w3._1999.xhtml.ButtonContent

    getContent

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      protected java.lang.String name
    • value

      protected java.lang.String value
    • type

      protected java.lang.String type
    • disabled

      protected java.lang.String disabled
    • accesskey

      protected java.lang.String accesskey
    • tabindex

      protected java.lang.Integer tabindex
    • onfocus

      protected java.lang.String onfocus
    • onblur

      protected java.lang.String onblur
    • langAttribute

      protected java.lang.String langAttribute
    • lang

      protected java.lang.String lang
    • dir

      protected java.lang.String dir
    • 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
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(java.lang.String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • 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 is String
    • getType

      public java.lang.String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType​(java.lang.String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • 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 is String
    • getAccesskey

      public java.lang.String getAccesskey()
      Gets the value of the accesskey property.
      Returns:
      possible object is String
    • setAccesskey

      public void setAccesskey​(java.lang.String value)
      Sets the value of the accesskey property.
      Parameters:
      value - allowed object is String
    • getTabindex

      public java.lang.Integer getTabindex()
      Gets the value of the tabindex property.
      Returns:
      possible object is Integer
    • setTabindex

      public void setTabindex​(java.lang.Integer value)
      Sets the value of the tabindex property.
      Parameters:
      value - allowed object is Integer
    • getOnfocus

      public java.lang.String getOnfocus()
      Gets the value of the onfocus property.
      Returns:
      possible object is String
    • setOnfocus

      public void setOnfocus​(java.lang.String value)
      Sets the value of the onfocus property.
      Parameters:
      value - allowed object is String
    • getOnblur

      public java.lang.String getOnblur()
      Gets the value of the onblur property.
      Returns:
      possible object is String
    • setOnblur

      public void setOnblur​(java.lang.String value)
      Sets the value of the onblur property.
      Parameters:
      value - allowed object is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 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

    • 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 is String
    • 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 is String
    • withName

      public Button withName​(java.lang.String value)
    • withValue

      public Button withValue​(java.lang.String value)
    • withType

      public Button withType​(java.lang.String value)
    • withDisabled

      public Button withDisabled​(java.lang.String value)
    • withAccesskey

      public Button withAccesskey​(java.lang.String value)
    • withTabindex

      public Button withTabindex​(java.lang.Integer value)
    • withOnfocus

      public Button withOnfocus​(java.lang.String value)
    • withOnblur

      public Button withOnblur​(java.lang.String value)
    • withLangAttribute

      public Button withLangAttribute​(java.lang.String value)
    • withLang

      public Button withLang​(java.lang.String value)
    • withDir

      public Button withDir​(java.lang.String value)
    • withOnclick

      public Button withOnclick​(java.lang.String value)
    • withOndblclick

      public Button withOndblclick​(java.lang.String value)
    • withOnmousedown

      public Button withOnmousedown​(java.lang.String value)
    • withOnmouseup

      public Button withOnmouseup​(java.lang.String value)
    • withOnmouseover

      public Button withOnmouseover​(java.lang.String value)
    • withOnmousemove

      public Button withOnmousemove​(java.lang.String value)
    • withOnmouseout

      public Button withOnmouseout​(java.lang.String value)
    • withOnkeypress

      public Button withOnkeypress​(java.lang.String value)
    • withOnkeydown

      public Button withOnkeydown​(java.lang.String value)
    • withOnkeyup

      public Button withOnkeyup​(java.lang.String value)
    • withId

      public Button withId​(java.lang.String value)
    • withClazz

      public Button withClazz​(java.lang.String... values)
    • withClazz

      public Button withClazz​(java.util.Collection<java.lang.String> values)
    • withStyle

      public Button withStyle​(java.lang.String value)
    • withTitle

      public Button withTitle​(java.lang.String value)
    • withContent

      public Button withContent​(java.lang.Object... values)
      Overrides:
      withContent in class ButtonContent
    • withContent

      public Button withContent​(java.util.Collection<java.lang.Object> values)
      Overrides:
      withContent in class ButtonContent
    • 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:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class ButtonContent
    • equals

      public boolean equals​(java.lang.Object object)
      Overrides:
      equals in class ButtonContent
    • hashCode

      public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class ButtonContent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ButtonContent
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class ButtonContent
    • 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:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class ButtonContent
    • 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:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class ButtonContent