Class FormEncType
- java.lang.Object
-
- com.webfirmframework.wffweb.tag.core.AbstractTagBase
-
- com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
-
- com.webfirmframework.wffweb.tag.html.html5.attribute.FormEncType
-
- All Implemented Interfaces:
TagBase
,InputAttributable
,java.io.Serializable
,java.lang.Cloneable
public class FormEncType extends AbstractAttribute implements InputAttributable
formenctype
attribute for the element.
If the input element is a submit button or image, this attribute specifies the type of content that is used to submit the form to the server. Possible values are: application/x-www-form-urlencoded: The default value if the attribute is not specified. multipart/form-data: Use this value if you are using an
<input>
element with the type attribute set to file. text/plain If this attribute is specified, it overrides the enctype attribute of the element's form owner.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
LOGGER
-
-
Constructor Summary
Constructors Constructor Description FormEncType(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
gets the value of this attributeprotected void
init()
invokes only once per objectvoid
setValue(boolean updateClient, java.lang.String value)
sets the value for this attributevoid
setValue(java.lang.String value)
sets the value for this attribute-
Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
addAllToAttributeValueMap, addAllToAttributeValueSet, addAllToAttributeValueSet, addToAttributeValueMap, addToAttributeValueSet, addValueChangeListener, beforePrintStructure, beforePrintStructureCompressedByIndex, beforeWffPrintStructure, getAttributeName, getAttributeValue, getAttributeValueMap, getAttributeValueSet, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getValueChangeListeners, getWffPrintStructure, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueSet, removeValueChangeListener, setAttributeName, setAttributeValue, setAttributeValue, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setOwnerTag, toCompressedBytesByIndex, toCompressedBytesByIndex, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString, toWffString, unsetOwnerTag
-
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuild
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.webfirmframework.wffweb.tag.core.TagBase
toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString
-
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.String value)
sets the value for this attribute- Parameters:
value
- the value for the attribute.- Since:
- 1.0.0
-
setValue
public void setValue(boolean updateClient, java.lang.String value)
sets the value for this attribute- Parameters:
updateClient
- true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.value
- the value for the attribute.- Since:
- 2.1.15
-
getValue
public java.lang.String getValue()
gets the value of this attribute- Returns:
- the value of the attribute
- Since:
- 1.0.0
-
init
protected void init()
invokes only once per object- Since:
- 1.0.0
-
-