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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.w3._1999.xhtml.FormContent
pOrH1OrH2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the accept property.Gets the value of the acceptCharset property.Gets the value of the action property.getClazz()Gets the value of the clazz property.getDir()Gets the value of the dir property.Gets the value of the enctype property.getId()Gets the value of the id property.getLang()Gets the value of the lang property.Gets the value of the langAttribute property.Gets the value of the method property.Gets the value of the onclick property.Gets the value of the ondblclick property.Gets the value of the onkeydown property.Gets the value of the onkeypress property.Gets the value of the onkeyup property.Gets the value of the onmousedown property.Gets the value of the onmousemove property.Gets the value of the onmouseout property.Gets the value of the onmouseover property.Gets the value of the onmouseup property.Gets the value of the onreset property.Gets the value of the onsubmit property.getStyle()Gets the value of the style property.getTitle()Gets the value of the title property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the accept property.voidsetAcceptCharset(String value) Sets the value of the acceptCharset property.voidSets the value of the action property.voidvoidSets the value of the dir property.voidsetEnctype(String value) Sets the value of the enctype property.voidSets the value of the id property.voidSets the value of the lang property.voidsetLangAttribute(String value) Sets the value of the langAttribute property.voidSets the value of the method property.voidsetOnclick(String value) Sets the value of the onclick property.voidsetOndblclick(String value) Sets the value of the ondblclick property.voidsetOnkeydown(String value) Sets the value of the onkeydown property.voidsetOnkeypress(String value) Sets the value of the onkeypress property.voidsetOnkeyup(String value) Sets the value of the onkeyup property.voidsetOnmousedown(String value) Sets the value of the onmousedown property.voidsetOnmousemove(String value) Sets the value of the onmousemove property.voidsetOnmouseout(String value) Sets the value of the onmouseout property.voidsetOnmouseover(String value) Sets the value of the onmouseover property.voidsetOnmouseup(String value) Sets the value of the onmouseup property.voidsetOnreset(String value) Sets the value of the onreset property.voidsetOnsubmit(String value) Sets the value of the onsubmit property.voidSets the value of the style property.voidSets the value of the title property.toString()withAccept(String value) withAcceptCharset(String value) withAction(String value) withClazz(Collection<String> values) withEnctype(String value) withLangAttribute(String value) withMethod(String value) withOnclick(String value) withOndblclick(String value) withOnkeydown(String value) withOnkeypress(String value) withOnkeyup(String value) withOnmousedown(String value) withOnmousemove(String value) withOnmouseout(String value) withOnmouseover(String value) withOnmouseup(String value) withOnreset(String value) withOnsubmit(String value) withPOrH1OrH2(Object... values) withPOrH1OrH2(Collection<Object> values) Methods inherited from class org.w3._1999.xhtml.FormContent
getPOrH1OrH2, setPOrH1OrH2
-
Field Details
-
action
-
method
-
enctype
-
onsubmit
-
onreset
-
accept
-
acceptCharset
-
langAttribute
-
lang
-
dir
-
id
-
clazz
-
style
-
title
-
onclick
-
ondblclick
-
onmousedown
-
onmouseup
-
onmouseover
-
onmousemove
-
onmouseout
-
onkeypress
-
onkeydown
-
onkeyup
-
-
Constructor Details
-
Form
public Form()
-
-
Method Details
-
getAction
Gets the value of the action property.- Returns:
- possible object is
String
-
setAction
Sets the value of the action property.- Parameters:
value- allowed object isString
-
getMethod
Gets the value of the method property.- Returns:
- possible object is
String
-
setMethod
Sets the value of the method property.- Parameters:
value- allowed object isString
-
getEnctype
Gets the value of the enctype property.- Returns:
- possible object is
String
-
setEnctype
Sets the value of the enctype property.- Parameters:
value- allowed object isString
-
getOnsubmit
Gets the value of the onsubmit property.- Returns:
- possible object is
String
-
setOnsubmit
Sets the value of the onsubmit property.- Parameters:
value- allowed object isString
-
getOnreset
Gets the value of the onreset property.- Returns:
- possible object is
String
-
setOnreset
Sets the value of the onreset property.- Parameters:
value- allowed object isString
-
getAccept
Gets the value of the accept property.- Returns:
- possible object is
String
-
setAccept
Sets the value of the accept property.- Parameters:
value- allowed object isString
-
getAcceptCharset
Gets the value of the acceptCharset property.- Returns:
- possible object is
String
-
setAcceptCharset
Sets the value of the acceptCharset property.- Parameters:
value- allowed object isString
-
getLangAttribute
Gets the value of the langAttribute property.- Returns:
- possible object is
String
-
setLangAttribute
Sets the value of the langAttribute property.- Parameters:
value- allowed object isString
-
getLang
Gets the value of the lang property.- Returns:
- possible object is
String
-
setLang
Sets the value of the lang property.- Parameters:
value- allowed object isString
-
getDir
Gets the value of the dir property.- Returns:
- possible object is
String
-
setDir
Sets the value of the dir property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
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
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
Gets the value of the style property.- Returns:
- possible object is
String
-
setStyle
Sets the value of the style property.- Parameters:
value- allowed object isString
-
getTitle
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getOnclick
Gets the value of the onclick property.- Returns:
- possible object is
String
-
setOnclick
Sets the value of the onclick property.- Parameters:
value- allowed object isString
-
getOndblclick
Gets the value of the ondblclick property.- Returns:
- possible object is
String
-
setOndblclick
Sets the value of the ondblclick property.- Parameters:
value- allowed object isString
-
getOnmousedown
Gets the value of the onmousedown property.- Returns:
- possible object is
String
-
setOnmousedown
Sets the value of the onmousedown property.- Parameters:
value- allowed object isString
-
getOnmouseup
Gets the value of the onmouseup property.- Returns:
- possible object is
String
-
setOnmouseup
Sets the value of the onmouseup property.- Parameters:
value- allowed object isString
-
getOnmouseover
Gets the value of the onmouseover property.- Returns:
- possible object is
String
-
setOnmouseover
Sets the value of the onmouseover property.- Parameters:
value- allowed object isString
-
getOnmousemove
Gets the value of the onmousemove property.- Returns:
- possible object is
String
-
setOnmousemove
Sets the value of the onmousemove property.- Parameters:
value- allowed object isString
-
getOnmouseout
Gets the value of the onmouseout property.- Returns:
- possible object is
String
-
setOnmouseout
Sets the value of the onmouseout property.- Parameters:
value- allowed object isString
-
getOnkeypress
Gets the value of the onkeypress property.- Returns:
- possible object is
String
-
setOnkeypress
Sets the value of the onkeypress property.- Parameters:
value- allowed object isString
-
getOnkeydown
Gets the value of the onkeydown property.- Returns:
- possible object is
String
-
setOnkeydown
Sets the value of the onkeydown property.- Parameters:
value- allowed object isString
-
getOnkeyup
Gets the value of the onkeyup property.- Returns:
- possible object is
String
-
setOnkeyup
Sets the value of the onkeyup property.- Parameters:
value- allowed object isString
-
withAction
-
withMethod
-
withEnctype
-
withOnsubmit
-
withOnreset
-
withAccept
-
withAcceptCharset
-
withLangAttribute
-
withLang
-
withDir
-
withId
-
withClazz
-
withClazz
-
withStyle
-
withTitle
-
withOnclick
-
withOndblclick
-
withOnmousedown
-
withOnmouseup
-
withOnmouseover
-
withOnmousemove
-
withOnmouseout
-
withOnkeypress
-
withOnkeydown
-
withOnkeyup
-
withPOrH1OrH2
- Overrides:
withPOrH1OrH2in classFormContent
-
withPOrH1OrH2
- Overrides:
withPOrH1OrH2in classFormContent
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classFormContent
-
equals
- 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
- Overrides:
toStringin classFormContent
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classFormContent
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classFormContent
-
setClazz
-