Class Form

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Form extends FormContent 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}form.content">
       <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
       <attribute name="action" use="required" type="{http://www.w3.org/1999/xhtml}URI" />
       <attribute name="method" default="get">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="get"/>
             <enumeration value="post"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="enctype" type="{http://www.w3.org/1999/xhtml}ContentType" default="application/x-www-form-urlencoded" />
       <attribute name="onsubmit" type="{http://www.w3.org/1999/xhtml}Script" />
       <attribute name="onreset" type="{http://www.w3.org/1999/xhtml}Script" />
       <attribute name="accept" type="{http://www.w3.org/1999/xhtml}ContentTypes" />
       <attribute name="accept-charset" type="{http://www.w3.org/1999/xhtml}Charsets" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • action

      protected String action
    • method

      protected String method
    • enctype

      protected String enctype
    • onsubmit

      protected String onsubmit
    • onreset

      protected String onreset
    • accept

      protected String accept
    • acceptCharset

      protected String acceptCharset
    • langAttribute

      protected String langAttribute
    • lang

      protected String lang
    • dir

      protected String dir
    • id

      protected String id
    • clazz

      protected List<String> clazz
    • style

      protected String style
    • title

      protected String title
    • onclick

      protected String onclick
    • ondblclick

      protected String ondblclick
    • onmousedown

      protected String onmousedown
    • onmouseup

      protected String onmouseup
    • onmouseover

      protected String onmouseover
    • onmousemove

      protected String onmousemove
    • onmouseout

      protected String onmouseout
    • onkeypress

      protected String onkeypress
    • onkeydown

      protected String onkeydown
    • onkeyup

      protected String onkeyup
  • Constructor Details

    • Form

      public Form()
  • Method Details

    • getAction

      public String getAction()
      Gets the value of the action property.
      Returns:
      possible object is String
    • setAction

      public void setAction(String value)
      Sets the value of the action property.
      Parameters:
      value - allowed object is String
    • getMethod

      public String getMethod()
      Gets the value of the method property.
      Returns:
      possible object is String
    • setMethod

      public void setMethod(String value)
      Sets the value of the method property.
      Parameters:
      value - allowed object is String
    • getEnctype

      public String getEnctype()
      Gets the value of the enctype property.
      Returns:
      possible object is String
    • setEnctype

      public void setEnctype(String value)
      Sets the value of the enctype property.
      Parameters:
      value - allowed object is String
    • getOnsubmit

      public String getOnsubmit()
      Gets the value of the onsubmit property.
      Returns:
      possible object is String
    • setOnsubmit

      public void setOnsubmit(String value)
      Sets the value of the onsubmit property.
      Parameters:
      value - allowed object is String
    • getOnreset

      public String getOnreset()
      Gets the value of the onreset property.
      Returns:
      possible object is String
    • setOnreset

      public void setOnreset(String value)
      Sets the value of the onreset property.
      Parameters:
      value - allowed object is String
    • getAccept

      public String getAccept()
      Gets the value of the accept property.
      Returns:
      possible object is String
    • setAccept

      public void setAccept(String value)
      Sets the value of the accept property.
      Parameters:
      value - allowed object is String
    • getAcceptCharset

      public String getAcceptCharset()
      Gets the value of the acceptCharset property.
      Returns:
      possible object is String
    • setAcceptCharset

      public void setAcceptCharset(String value)
      Sets the value of the acceptCharset property.
      Parameters:
      value - allowed object is String
    • getLangAttribute

      public String getLangAttribute()
      Gets the value of the langAttribute property.
      Returns:
      possible object is String
    • setLangAttribute

      public void setLangAttribute(String value)
      Sets the value of the langAttribute property.
      Parameters:
      value - allowed object is String
    • getLang

      public String getLang()
      Gets the value of the lang property.
      Returns:
      possible object is String
    • setLang

      public void setLang(String value)
      Sets the value of the lang property.
      Parameters:
      value - allowed object is String
    • getDir

      public String getDir()
      Gets the value of the dir property.
      Returns:
      possible object is String
    • setDir

      public void setDir(String value)
      Sets the value of the dir property.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getClazz

      public List<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 Jakarta XML Binding 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 String getStyle()
      Gets the value of the style property.
      Returns:
      possible object is String
    • setStyle

      public void setStyle(String value)
      Sets the value of the style property.
      Parameters:
      value - allowed object is String
    • getTitle

      public String getTitle()
      Gets the value of the title property.
      Returns:
      possible object is String
    • setTitle

      public void setTitle(String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • getOnclick

      public String getOnclick()
      Gets the value of the onclick property.
      Returns:
      possible object is String
    • setOnclick

      public void setOnclick(String value)
      Sets the value of the onclick property.
      Parameters:
      value - allowed object is String
    • getOndblclick

      public String getOndblclick()
      Gets the value of the ondblclick property.
      Returns:
      possible object is String
    • setOndblclick

      public void setOndblclick(String value)
      Sets the value of the ondblclick property.
      Parameters:
      value - allowed object is String
    • getOnmousedown

      public String getOnmousedown()
      Gets the value of the onmousedown property.
      Returns:
      possible object is String
    • setOnmousedown

      public void setOnmousedown(String value)
      Sets the value of the onmousedown property.
      Parameters:
      value - allowed object is String
    • getOnmouseup

      public String getOnmouseup()
      Gets the value of the onmouseup property.
      Returns:
      possible object is String
    • setOnmouseup

      public void setOnmouseup(String value)
      Sets the value of the onmouseup property.
      Parameters:
      value - allowed object is String
    • getOnmouseover

      public String getOnmouseover()
      Gets the value of the onmouseover property.
      Returns:
      possible object is String
    • setOnmouseover

      public void setOnmouseover(String value)
      Sets the value of the onmouseover property.
      Parameters:
      value - allowed object is String
    • getOnmousemove

      public String getOnmousemove()
      Gets the value of the onmousemove property.
      Returns:
      possible object is String
    • setOnmousemove

      public void setOnmousemove(String value)
      Sets the value of the onmousemove property.
      Parameters:
      value - allowed object is String
    • getOnmouseout

      public String getOnmouseout()
      Gets the value of the onmouseout property.
      Returns:
      possible object is String
    • setOnmouseout

      public void setOnmouseout(String value)
      Sets the value of the onmouseout property.
      Parameters:
      value - allowed object is String
    • getOnkeypress

      public String getOnkeypress()
      Gets the value of the onkeypress property.
      Returns:
      possible object is String
    • setOnkeypress

      public void setOnkeypress(String value)
      Sets the value of the onkeypress property.
      Parameters:
      value - allowed object is String
    • getOnkeydown

      public String getOnkeydown()
      Gets the value of the onkeydown property.
      Returns:
      possible object is String
    • setOnkeydown

      public void setOnkeydown(String value)
      Sets the value of the onkeydown property.
      Parameters:
      value - allowed object is String
    • getOnkeyup

      public String getOnkeyup()
      Gets the value of the onkeyup property.
      Returns:
      possible object is String
    • setOnkeyup

      public void setOnkeyup(String value)
      Sets the value of the onkeyup property.
      Parameters:
      value - allowed object is String
    • withAction

      public Form withAction(String value)
    • withMethod

      public Form withMethod(String value)
    • withEnctype

      public Form withEnctype(String value)
    • withOnsubmit

      public Form withOnsubmit(String value)
    • withOnreset

      public Form withOnreset(String value)
    • withAccept

      public Form withAccept(String value)
    • withAcceptCharset

      public Form withAcceptCharset(String value)
    • withLangAttribute

      public Form withLangAttribute(String value)
    • withLang

      public Form withLang(String value)
    • withDir

      public Form withDir(String value)
    • withId

      public Form withId(String value)
    • withClazz

      public Form withClazz(String... values)
    • withClazz

      public Form withClazz(Collection<String> values)
    • withStyle

      public Form withStyle(String value)
    • withTitle

      public Form withTitle(String value)
    • withOnclick

      public Form withOnclick(String value)
    • withOndblclick

      public Form withOndblclick(String value)
    • withOnmousedown

      public Form withOnmousedown(String value)
    • withOnmouseup

      public Form withOnmouseup(String value)
    • withOnmouseover

      public Form withOnmouseover(String value)
    • withOnmousemove

      public Form withOnmousemove(String value)
    • withOnmouseout

      public Form withOnmouseout(String value)
    • withOnkeypress

      public Form withOnkeypress(String value)
    • withOnkeydown

      public Form withOnkeydown(String value)
    • withOnkeyup

      public Form withOnkeyup(String value)
    • withPOrH1OrH2

      public Form withPOrH1OrH2(Object... values)
      Overrides:
      withPOrH1OrH2 in class FormContent
    • withPOrH1OrH2

      public Form withPOrH1OrH2(Collection<Object> values)
      Overrides:
      withPOrH1OrH2 in class FormContent
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class FormContent
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class FormContent
    • 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 FormContent
    • hashCode

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

      public String toString()
      Overrides:
      toString in class FormContent
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class FormContent
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class FormContent
    • setClazz

      public void setClazz(List<String> value)