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 
      Modifier and Type Method Description
      protected java.lang.Object readResolve()
      Serizalization method resolve instances to the constant Field values
      • 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

        protected java.lang.Object readResolve()
                                        throws java.io.InvalidObjectException
        Serizalization method resolve instances to the constant Field values
        Overrides:
        readResolve in class java.text.AttributedCharacterIterator.Attribute
        Throws:
        java.io.InvalidObjectException