Enum EHCAutoComplete

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ADDITIONAL_NAME
      The middle name.
      ADDRESS_LEVEL1
      The first administrative level in the address.
      ADDRESS_LEVEL2
      The second administrative level, in addresses with at least two of them.
      ADDRESS_LEVEL3
      The third administrative level, in addresses with at least three administrative levels.
      ADDRESS_LEVEL4
      The finest-grained administrative level, in addresses which have four levels.
      ADDRESS_LINE1
      Each individual line of the street address.
      ADDRESS_LINE2
      Each individual line of the street address.
      ADDRESS_LINE3
      Each individual line of the street address.
      BDAY
      A birth date, as a full date.
      BDAY_DAY
      The day of the month of a birth date.
      BDAY_MONTH
      The month of the year of a birth date.
      BDAY_YEAR
      The year of a birth date.
      CC_ADDITIONAL_NAME
      A middle name as given on a payment instrument or credit card.
      CC_CSC
      The security code for the payment instrument; on credit cards, this is the 3-digit verification number on the back of the card.
      CC_EXP
      A payment method expiration date, typically in the form "MM/YY" or "MM/YYYY".
      CC_EXP_MONTH
      The month in which the payment method expires.
      CC_EXP_YEAR
      The year in which the payment method expires.
      CC_FAMILY_NAME
      A family name, as given on a credit card.
      CC_GIVEN_NAME
      A given (first) name as given on a payment instrument like a credit card.
      CC_NAME
      The full name as printed on or associated with a payment instrument such as a credit card.
      CC_NUMBER
      A credit card number or other number identifying a payment method, such as an account number.
      CC_TYPE
      The type of payment instrument (such as "Visa" or "Master Card").
      COUNTRY
      A country or territory code.
      COUNTRY_NAME
      A country or territory name.
      CURRENT_PASSWORD
      The user's current password.
      EMAIL
      An email address.
      FAMILY_NAME
      The family (or "last") name.
      GIVEN_NAME
      The given (or "first") name.
      HONORIFIC_PREFIX
      The prefix or title, such as "Mrs
      HONORIFIC_SUFFIX
      The suffix, such as "Jr
      IMPP
      A URL for an instant messaging protocol endpoint, such as "xmpp:username@example.net".
      LANGUAGE
      A preferred language, given as a valid BCP 47 language tag.
      NAME
      The field expects the value to be a person's full name.
      NEW_PASSWORD
      A new password.
      NICKNAME
      A nickname or handle.
      OFF
      The browser is not permitted to automatically enter or select a value for this field.
      ON
      The browser is allowed to automatically complete the input.
      ONE_TIME_CODE
      A one-time code used for verifying user identity.
      ORGANIZATION
      A company or organization name, such as "Acme Widget Company" or "Girl Scouts of America".
      ORGANIZATION_TITLE
      A job title, or the title a person has within an organization, such as "Senior Technical Writer", "President", or "Assistant Troop Leader".
      PHOTO
      The URL of an image representing the person, company, or contact information given in the other fields in the form.
      POSTAL_CODE
      A postal code (in the United States, this is the ZIP code).
      SEX
      A gender identity (such as "Female", "Fa'afafine", "Hijra", "Male", "Nonbinary"), as freeform text without newlines.
      STREET_ADDRESS
      A street address.
      TEL
      A full telephone number, including the country code.
      TEL_AREA_CODE
      The area code, with any country-internal prefix applied if appropriate.
      TEL_COUNTRY_CODE
      The country code, such as "1" for the United States, Canada, and other areas in North America and parts of the Caribbean.
      TEL_EXTENSION
      A telephone extension code within the phone number, such as a room or suite number in a hotel or an office extension in a company.
      TEL_LOCAL
      The phone number without the country or area code.
      TEL_NATIONAL
      The entire phone number without the country code component, including a country-internal prefix.
      TRANSACTION_AMOUNT
      The amount, given in the currency specified by "transaction-currency", of the transaction, for a payment form.
      TRANSACTION_CURRENCY
      The currency in which the transaction is to take place.
      URL
      A URL, such as a home page or company website address as appropriate given the context of the other fields in the form.
      USERNAME
      A username or account name.
    • Enum Constant Detail

      • OFF

        public static final EHCAutoComplete OFF
        The browser is not permitted to automatically enter or select a value for this field. It is possible that the document or application provides its own autocomplete feature, or that security concerns require that the field's value not be automatically entered.
      • ON

        public static final EHCAutoComplete ON
        The browser is allowed to automatically complete the input. No guidance is provided as to the type of data expected in the field, so the browser may use its own judgement.
      • NAME

        public static final EHCAutoComplete NAME
        The field expects the value to be a person's full name. Using "name" rather than breaking the name down into its components is generally preferred because it avoids dealing with the wide diversity of human names and how they are structured; however, you can use the following autocomplete values if you do need to break the name down into its components:
      • HONORIFIC_PREFIX

        public static final EHCAutoComplete HONORIFIC_PREFIX
        The prefix or title, such as "Mrs.", "Mr.", "Miss", "Ms.", "Dr.", or "Mlle.".
      • GIVEN_NAME

        public static final EHCAutoComplete GIVEN_NAME
        The given (or "first") name.
      • ADDITIONAL_NAME

        public static final EHCAutoComplete ADDITIONAL_NAME
        The middle name.
      • FAMILY_NAME

        public static final EHCAutoComplete FAMILY_NAME
        The family (or "last") name.
      • HONORIFIC_SUFFIX

        public static final EHCAutoComplete HONORIFIC_SUFFIX
        The suffix, such as "Jr.", "B.Sc.", "PhD.", "MBASW", or "IV".
      • NICKNAME

        public static final EHCAutoComplete NICKNAME
        A nickname or handle.
      • USERNAME

        public static final EHCAutoComplete USERNAME
        A username or account name.
      • NEW_PASSWORD

        public static final EHCAutoComplete NEW_PASSWORD
        A new password. When creating a new account or changing passwords, this should be used for an "Enter your new password" or "Confirm new password" field, as opposed to a general "Enter your current password" field that might be present. This may be used by the browser both to avoid accidentally filling in an existing password and to offer assistance in creating a secure password
      • CURRENT_PASSWORD

        public static final EHCAutoComplete CURRENT_PASSWORD
        The user's current password.
      • ONE_TIME_CODE

        public static final EHCAutoComplete ONE_TIME_CODE
        A one-time code used for verifying user identity.
      • ORGANIZATION_TITLE

        public static final EHCAutoComplete ORGANIZATION_TITLE
        A job title, or the title a person has within an organization, such as "Senior Technical Writer", "President", or "Assistant Troop Leader".
      • ORGANIZATION

        public static final EHCAutoComplete ORGANIZATION
        A company or organization name, such as "Acme Widget Company" or "Girl Scouts of America".
      • STREET_ADDRESS

        public static final EHCAutoComplete STREET_ADDRESS
        A street address. This can be multiple lines of text, and should fully identify the location of the address within its second administrative level (typically a city or town), but should not include the city name, ZIP or postal code, or country name.
      • ADDRESS_LINE1

        public static final EHCAutoComplete ADDRESS_LINE1
        Each individual line of the street address. These should only be present if the "street-address" is not present.
      • ADDRESS_LINE2

        public static final EHCAutoComplete ADDRESS_LINE2
        Each individual line of the street address. These should only be present if the "street-address" is not present.
      • ADDRESS_LINE3

        public static final EHCAutoComplete ADDRESS_LINE3
        Each individual line of the street address. These should only be present if the "street-address" is not present.
      • ADDRESS_LEVEL4

        public static final EHCAutoComplete ADDRESS_LEVEL4
        The finest-grained administrative level, in addresses which have four levels.
      • ADDRESS_LEVEL3

        public static final EHCAutoComplete ADDRESS_LEVEL3
        The third administrative level, in addresses with at least three administrative levels.
      • ADDRESS_LEVEL2

        public static final EHCAutoComplete ADDRESS_LEVEL2
        The second administrative level, in addresses with at least two of them. In countries with two administrative levels, this would typically be the city, town, village, or other locality in which the address is located.
      • ADDRESS_LEVEL1

        public static final EHCAutoComplete ADDRESS_LEVEL1
        The first administrative level in the address. This is typically the province in which the address is located. In the United States, this would be the state. In Switzerland, the canton. In the United Kingdom, the post town.
      • COUNTRY

        public static final EHCAutoComplete COUNTRY
        A country or territory code.
      • COUNTRY_NAME

        public static final EHCAutoComplete COUNTRY_NAME
        A country or territory name.
      • POSTAL_CODE

        public static final EHCAutoComplete POSTAL_CODE
        A postal code (in the United States, this is the ZIP code).
      • CC_NAME

        public static final EHCAutoComplete CC_NAME
        The full name as printed on or associated with a payment instrument such as a credit card. Using a full name field is preferred, typically, over breaking the name into pieces.
      • CC_GIVEN_NAME

        public static final EHCAutoComplete CC_GIVEN_NAME
        A given (first) name as given on a payment instrument like a credit card.
      • CC_ADDITIONAL_NAME

        public static final EHCAutoComplete CC_ADDITIONAL_NAME
        A middle name as given on a payment instrument or credit card.
      • CC_FAMILY_NAME

        public static final EHCAutoComplete CC_FAMILY_NAME
        A family name, as given on a credit card.
      • CC_NUMBER

        public static final EHCAutoComplete CC_NUMBER
        A credit card number or other number identifying a payment method, such as an account number.
      • CC_EXP

        public static final EHCAutoComplete CC_EXP
        A payment method expiration date, typically in the form "MM/YY" or "MM/YYYY".
      • CC_EXP_MONTH

        public static final EHCAutoComplete CC_EXP_MONTH
        The month in which the payment method expires.
      • CC_EXP_YEAR

        public static final EHCAutoComplete CC_EXP_YEAR
        The year in which the payment method expires.
      • CC_CSC

        public static final EHCAutoComplete CC_CSC
        The security code for the payment instrument; on credit cards, this is the 3-digit verification number on the back of the card.
      • CC_TYPE

        public static final EHCAutoComplete CC_TYPE
        The type of payment instrument (such as "Visa" or "Master Card").
      • TRANSACTION_CURRENCY

        public static final EHCAutoComplete TRANSACTION_CURRENCY
        The currency in which the transaction is to take place.
      • TRANSACTION_AMOUNT

        public static final EHCAutoComplete TRANSACTION_AMOUNT
        The amount, given in the currency specified by "transaction-currency", of the transaction, for a payment form.
      • LANGUAGE

        public static final EHCAutoComplete LANGUAGE
        A preferred language, given as a valid BCP 47 language tag.
      • BDAY

        public static final EHCAutoComplete BDAY
        A birth date, as a full date.
      • BDAY_DAY

        public static final EHCAutoComplete BDAY_DAY
        The day of the month of a birth date.
      • BDAY_MONTH

        public static final EHCAutoComplete BDAY_MONTH
        The month of the year of a birth date.
      • BDAY_YEAR

        public static final EHCAutoComplete BDAY_YEAR
        The year of a birth date.
      • SEX

        public static final EHCAutoComplete SEX
        A gender identity (such as "Female", "Fa'afafine", "Hijra", "Male", "Nonbinary"), as freeform text without newlines.
      • TEL

        public static final EHCAutoComplete TEL
        A full telephone number, including the country code. If you need to break the phone number up into its components, you can use these values for those fields:
      • TEL_COUNTRY_CODE

        public static final EHCAutoComplete TEL_COUNTRY_CODE
        The country code, such as "1" for the United States, Canada, and other areas in North America and parts of the Caribbean.
      • TEL_NATIONAL

        public static final EHCAutoComplete TEL_NATIONAL
        The entire phone number without the country code component, including a country-internal prefix. For the phone number "1-855-555-6502", this field's value would be "855-555-6502".
      • TEL_AREA_CODE

        public static final EHCAutoComplete TEL_AREA_CODE
        The area code, with any country-internal prefix applied if appropriate.
      • TEL_LOCAL

        public static final EHCAutoComplete TEL_LOCAL
        The phone number without the country or area code. This can be split further into two parts, for phone numbers which have an exchange number and then a number within the exchange. For the phone number "555-6502", use "tel-local-prefix" for "555" and "tel-local-suffix" for "6502".
      • TEL_EXTENSION

        public static final EHCAutoComplete TEL_EXTENSION
        A telephone extension code within the phone number, such as a room or suite number in a hotel or an office extension in a company.
      • IMPP

        public static final EHCAutoComplete IMPP
        A URL for an instant messaging protocol endpoint, such as "xmpp:username@example.net".
      • URL

        public static final EHCAutoComplete URL
        A URL, such as a home page or company website address as appropriate given the context of the other fields in the form.
      • PHOTO

        public static final EHCAutoComplete PHOTO
        The URL of an image representing the person, company, or contact information given in the other fields in the form.
    • Method Detail

      • values

        public static EHCAutoComplete[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EHCAutoComplete c : EHCAutoComplete.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EHCAutoComplete valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getAttrValue

        @Nonnull
        @Nonempty
        public String getAttrValue()
        Specified by:
        getAttrValue in interface com.helger.xml.microdom.IHasAttributeValue