Enum Join.Polite

  • All Implemented Interfaces:
    Serializable, Comparable<Join.Polite>
    Enclosing class:
    Join

    public static enum Join.Polite
    extends Enum<Join.Polite>
    https://universaldependencies.org/u/feat/Polite.html Various languages have various means to express politeness or respect.

    Java class for null.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType>
       <restriction base="{http://www.w3.org/2001/XMLSchema}token">
         <enumeration value="infm"/>
         <enumeration value="form"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • infm

        public static final Join.Polite infm
        usually meant for communication with family members and close friends.
      • form

        public static final Join.Polite form
        usually meant for communication with strangers and people of higher social status.
    • Method Detail

      • values

        public static Join.Polite[] 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 (Join.Polite c : Join.Polite.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Join.Polite 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
      • value

        public String value()