Class 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
    • Constructor Detail

      • FormEncType

        public FormEncType​(java.lang.String value)
        Parameters:
        value - the value for the attribute
        Since:
        1.0.0
    • 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
      • 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