com.ibm.as400.util.html
Class FileFormInput

java.lang.Object
  extended bycom.ibm.as400.util.html.HTMLTagAttributes
      extended bycom.ibm.as400.util.html.FormInput
          extended bycom.ibm.as400.util.html.FileFormInput
All Implemented Interfaces:
HTMLTagElement, Serializable

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 Summary
FileFormInput()
          Constructs a default FileFormInput object.
FileFormInput(String name)
          Constructs a FileFormInput object with the specified control name.
 
Method Summary
 String getFOTag()
          Returns a comment tag.
 String getTag()
          Returns the tag for the file form input type.
 
Methods inherited from class com.ibm.as400.util.html.FormInput
addVetoableChangeListener, getDirection, getLanguage, getName, getSize, getValue, removeVetoableChangeListener, setDirection, setLanguage, setName, setSize, setValue, toString
 
Methods inherited from class com.ibm.as400.util.html.HTMLTagAttributes
addPropertyChangeListener, getAttributes, getAttributeString, removePropertyChangeListener, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileFormInput

public FileFormInput()
Constructs a default FileFormInput object.


FileFormInput

public FileFormInput(String name)
Constructs a FileFormInput object with the specified control name.

Parameters:
name - The control name of the input field.
Method Detail

getFOTag

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

Returns:
The comment tag.

getTag

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

Returns:
The tag.