Class FileFormInput

  • All Implemented Interfaces:

    public class FileFormInput
    extends FormInput
    The FileFormInput class represents a file input type in an HTML form. The trailing slash "/" on the FileFormInput tag allows it to conform to the XHTML specification.

    Here is an example of a FileFormInput tag:
    <input type="file" name="myFile" />

    See Also:
    Serialized Form
    • Constructor Detail

      • FileFormInput

        public FileFormInput()
        Constructs a default FileFormInput object.
      • FileFormInput

        public FileFormInput(java.lang.String name)
        Constructs a FileFormInput object with the specified control name.
        name - The control name of the input field.
    • Method Detail

      • getFOTag

        public java.lang.String getFOTag()
        Returns a comment tag. This method should not be called. There is no XSL-FO support for this class.
        The comment tag.
      • getTag

        public java.lang.String getTag()
        Returns the tag for the file form input type.
        The tag.