Interface AdvancedMessageFormat.PartFactory

All Known Implementing Classes:
EventFormatter.LookupFieldPartFactory
Enclosing class:
AdvancedMessageFormat

public static interface AdvancedMessageFormat.PartFactory
Implementations of this interface parse a field part and return message parts.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getFormat()
    Returns the name of the message part format.
    AdvancedMessageFormat.Part newPart​(java.lang.String fieldName, java.lang.String values)
    Creates a new part by parsing the values parameter to configure the part.
  • Method Details

    • newPart

      AdvancedMessageFormat.Part newPart​(java.lang.String fieldName, java.lang.String values)
      Creates a new part by parsing the values parameter to configure the part.
      Parameters:
      fieldName - the field name
      values - the unparsed parameter values
      Returns:
      the new message part
    • getFormat

      java.lang.String getFormat()
      Returns the name of the message part format.
      Returns:
      the name of the message part format