package def.dom;
public class HTMLFormElement extends HTMLElement {
    /**
      * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.
      */
    public String acceptCharset;
    /**
      * Sets or retrieves the URL to which the form content is sent for processing.
      */
    public String action;
    /**
      * Specifies whether autocomplete is applied to an editable text field.
      */
    public String autocomplete;
    /**
      * Retrieves a collection, in source order, of all controls in a given form.
      */
    public HTMLCollection elements;
    /**
      * Sets or retrieves the MIME encoding for the form.
      */
    public String encoding;
    /**
      * Sets or retrieves the encoding type for the form.
      */
    public String enctype;
    /**
      * Sets or retrieves the number of objects in a collection.
      */
    public double length;
    /**
      * Sets or retrieves how to send the form data to the server.
      */
    public String method;
    /**
      * Sets or retrieves the name of the object.
      */
    public String name;
    /**
      * Designates a form that is not validated when submitted.
      */
    public Boolean noValidate;
    /**
      * Sets or retrieves the window or frame at which to target content.
      */
    public String target;
    /**
      * Returns whether a form will validate when it is submitted, without having to submit it.
      */
    native public Boolean checkValidity();
    /**
      * Retrieves a form object or an object from an elements collection.
      * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.
      * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.
      */
    native public Object item(Object name, Object index);
    /**
      * Retrieves a form object or an object from an elements collection.
      */
    native public Object namedItem(String name);
    /**
      * Fires when the user resets a form.
      */
    native public void reset();
    /**
      * Fires when a FORM is about to be submitted.
      */
    native public void submit();
    native public java.lang.Object $get(String name);
    public static HTMLFormElement prototype;
    public HTMLFormElement(){}
    /**
      * Retrieves a form object or an object from an elements collection.
      * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.
      * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.
      */
    native public Object item(Object name);
    /**
      * Retrieves a form object or an object from an elements collection.
      * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.
      * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.
      */
    native public Object item();
}

