Package org.w3._1999.xhtml
Class Form
- java.lang.Object
-
- org.w3._1999.xhtml.FormContent
-
- org.w3._1999.xhtml.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 Summary
Fields Modifier and Type Field Description protected java.lang.Stringacceptprotected java.lang.StringacceptCharsetprotected java.lang.Stringactionprotected java.util.List<java.lang.String>clazzprotected java.lang.Stringdirprotected java.lang.Stringenctypeprotected java.lang.Stringidprotected java.lang.Stringlangprotected java.lang.StringlangAttributeprotected java.lang.Stringmethodprotected 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.Stringonresetprotected java.lang.Stringonsubmitprotected java.lang.Stringstyleprotected java.lang.Stringtitle-
Fields inherited from class org.w3._1999.xhtml.FormContent
pOrH1OrH2
-
-
Constructor Summary
Constructors Constructor Description Form()
-
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.lang.StringgetAccept()Gets the value of the accept property.java.lang.StringgetAcceptCharset()Gets the value of the acceptCharset property.java.lang.StringgetAction()Gets the value of the action property.java.util.List<java.lang.String>getClazz()Gets the value of the clazz property.java.lang.StringgetDir()Gets the value of the dir property.java.lang.StringgetEnctype()Gets the value of the enctype property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetLang()Gets the value of the lang property.java.lang.StringgetLangAttribute()Gets the value of the langAttribute property.java.lang.StringgetMethod()Gets the value of the method 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.StringgetOnreset()Gets the value of the onreset property.java.lang.StringgetOnsubmit()Gets the value of the onsubmit property.java.lang.StringgetStyle()Gets the value of the style property.java.lang.StringgetTitle()Gets the value of the title property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAccept(java.lang.String value)Sets the value of the accept property.voidsetAcceptCharset(java.lang.String value)Sets the value of the acceptCharset property.voidsetAction(java.lang.String value)Sets the value of the action property.voidsetDir(java.lang.String value)Sets the value of the dir property.voidsetEnctype(java.lang.String value)Sets the value of the enctype property.voidsetId(java.lang.String value)Sets the value of the id 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.voidsetMethod(java.lang.String value)Sets the value of the method 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.voidsetOnreset(java.lang.String value)Sets the value of the onreset property.voidsetOnsubmit(java.lang.String value)Sets the value of the onsubmit 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.java.lang.StringtoString()FormwithAccept(java.lang.String value)FormwithAcceptCharset(java.lang.String value)FormwithAction(java.lang.String value)FormwithClazz(java.lang.String... values)FormwithClazz(java.util.Collection<java.lang.String> values)FormwithDir(java.lang.String value)FormwithEnctype(java.lang.String value)FormwithId(java.lang.String value)FormwithLang(java.lang.String value)FormwithLangAttribute(java.lang.String value)FormwithMethod(java.lang.String value)FormwithOnclick(java.lang.String value)FormwithOndblclick(java.lang.String value)FormwithOnkeydown(java.lang.String value)FormwithOnkeypress(java.lang.String value)FormwithOnkeyup(java.lang.String value)FormwithOnmousedown(java.lang.String value)FormwithOnmousemove(java.lang.String value)FormwithOnmouseout(java.lang.String value)FormwithOnmouseover(java.lang.String value)FormwithOnmouseup(java.lang.String value)FormwithOnreset(java.lang.String value)FormwithOnsubmit(java.lang.String value)FormwithPOrH1OrH2(java.lang.Object... values)FormwithPOrH1OrH2(java.util.Collection<java.lang.Object> values)FormwithStyle(java.lang.String value)FormwithTitle(java.lang.String value)-
Methods inherited from class org.w3._1999.xhtml.FormContent
getPOrH1OrH2
-
-
-
-
Field Detail
-
action
protected java.lang.String action
-
method
protected java.lang.String method
-
enctype
protected java.lang.String enctype
-
onsubmit
protected java.lang.String onsubmit
-
onreset
protected java.lang.String onreset
-
accept
protected java.lang.String accept
-
acceptCharset
protected java.lang.String acceptCharset
-
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
-
getAction
public java.lang.String getAction()
Gets the value of the action property.- Returns:
- possible object is
String
-
setAction
public void setAction(java.lang.String value)
Sets the value of the action property.- Parameters:
value- allowed object isString
-
getMethod
public java.lang.String getMethod()
Gets the value of the method property.- Returns:
- possible object is
String
-
setMethod
public void setMethod(java.lang.String value)
Sets the value of the method property.- Parameters:
value- allowed object isString
-
getEnctype
public java.lang.String getEnctype()
Gets the value of the enctype property.- Returns:
- possible object is
String
-
setEnctype
public void setEnctype(java.lang.String value)
Sets the value of the enctype property.- Parameters:
value- allowed object isString
-
getOnsubmit
public java.lang.String getOnsubmit()
Gets the value of the onsubmit property.- Returns:
- possible object is
String
-
setOnsubmit
public void setOnsubmit(java.lang.String value)
Sets the value of the onsubmit property.- Parameters:
value- allowed object isString
-
getOnreset
public java.lang.String getOnreset()
Gets the value of the onreset property.- Returns:
- possible object is
String
-
setOnreset
public void setOnreset(java.lang.String value)
Sets the value of the onreset property.- Parameters:
value- allowed object isString
-
getAccept
public java.lang.String getAccept()
Gets the value of the accept property.- Returns:
- possible object is
String
-
setAccept
public void setAccept(java.lang.String value)
Sets the value of the accept property.- Parameters:
value- allowed object isString
-
getAcceptCharset
public java.lang.String getAcceptCharset()
Gets the value of the acceptCharset property.- Returns:
- possible object is
String
-
setAcceptCharset
public void setAcceptCharset(java.lang.String value)
Sets the value of the acceptCharset 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
-
withAction
public Form withAction(java.lang.String value)
-
withMethod
public Form withMethod(java.lang.String value)
-
withEnctype
public Form withEnctype(java.lang.String value)
-
withOnsubmit
public Form withOnsubmit(java.lang.String value)
-
withOnreset
public Form withOnreset(java.lang.String value)
-
withAccept
public Form withAccept(java.lang.String value)
-
withAcceptCharset
public Form withAcceptCharset(java.lang.String value)
-
withOnclick
public Form withOnclick(java.lang.String value)
-
withOndblclick
public Form withOndblclick(java.lang.String value)
-
withOnmousedown
public Form withOnmousedown(java.lang.String value)
-
withOnmouseup
public Form withOnmouseup(java.lang.String value)
-
withOnmouseover
public Form withOnmouseover(java.lang.String value)
-
withOnmousemove
public Form withOnmousemove(java.lang.String value)
-
withOnmouseout
public Form withOnmouseout(java.lang.String value)
-
withOnkeypress
public Form withOnkeypress(java.lang.String value)
-
withOnkeydown
public Form withOnkeydown(java.lang.String value)
-
withOnkeyup
public Form withOnkeyup(java.lang.String value)
-
withId
public Form withId(java.lang.String value)
-
withClazz
public Form withClazz(java.lang.String... values)
-
withClazz
public Form withClazz(java.util.Collection<java.lang.String> values)
-
withStyle
public Form withStyle(java.lang.String value)
-
withTitle
public Form withTitle(java.lang.String value)
-
withLangAttribute
public Form withLangAttribute(java.lang.String value)
-
withLang
public Form withLang(java.lang.String value)
-
withDir
public Form withDir(java.lang.String value)
-
withPOrH1OrH2
public Form withPOrH1OrH2(java.lang.Object... values)
- Overrides:
withPOrH1OrH2in classFormContent
-
withPOrH1OrH2
public Form withPOrH1OrH2(java.util.Collection<java.lang.Object> values)
- Overrides:
withPOrH1OrH2in classFormContent
-
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- Overrides:
equalsin classFormContent
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classFormContent
-
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- Overrides:
hashCodein classFormContent
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFormContent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFormContent
-
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- Overrides:
appendin classFormContent
-
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- Overrides:
appendFieldsin classFormContent
-
-