Class ListFormatter.Field

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ListFormatter

    public static final class ListFormatter.Field
    extends java.text.Format.Field
    Field selectors for format fields defined by ListFormatter.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ListFormatter.Field ELEMENT
      The element text in the result which came from the input strings.
      static ListFormatter.Field LITERAL
      The literal text in the result which came from the resources.
      • Fields inherited from class java.text.AttributedCharacterIterator.Attribute

        INPUT_METHOD_SEGMENT, LANGUAGE, READING
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.lang.Object readResolve()
      Deprecated.
      This API is ICU internal only.
      • Methods inherited from class java.text.AttributedCharacterIterator.Attribute

        equals, getName, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LITERAL

        public static ListFormatter.Field LITERAL
        The literal text in the result which came from the resources.
      • ELEMENT

        public static ListFormatter.Field ELEMENT
        The element text in the result which came from the input strings.
    • Method Detail

      • readResolve

        @Deprecated
        protected java.lang.Object readResolve()
                                        throws java.io.InvalidObjectException
        Deprecated.
        This API is ICU internal only.
        Serialization method resolve instances to the constant Field values
        Overrides:
        readResolve in class java.text.AttributedCharacterIterator.Attribute
        Throws:
        java.io.InvalidObjectException