Interface AdvancedMessageFormat.Part

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isGenerated​(java.util.Map<java.lang.String,​java.lang.Object> params)
      Indicates whether there is any content that is generated by this message part.
      void write​(java.lang.StringBuffer sb, java.util.Map<java.lang.String,​java.lang.Object> params)
      Writes the formatted part to a string buffer.
    • Method Detail

      • write

        void write​(java.lang.StringBuffer sb,
                   java.util.Map<java.lang.String,​java.lang.Object> params)
        Writes the formatted part to a string buffer.
        Parameters:
        sb - the target string buffer
        params - the parameters to work with
      • isGenerated

        boolean isGenerated​(java.util.Map<java.lang.String,​java.lang.Object> params)
        Indicates whether there is any content that is generated by this message part.
        Parameters:
        params - the parameters to work with
        Returns:
        true if the part has content