Interface JsMessage.Part

    • Method Detail

      • isPlaceholder

        boolean isPlaceholder()
        True for placeholders, false for literal string parts.
      • getPlaceholderName

        java.lang.String getPlaceholderName()
        Gets the name of the placeholder.
        Returns:
        the name for a placeholder
        Throws:
        java.lang.UnsupportedOperationException - if this is not a JsMessage.PlaceholderReference.
      • getString

        java.lang.String getString()
        Gets the literal string for this message part.
        Returns:
        the literal string for JsMessage.StringPart.
        Throws:
        java.lang.UnsupportedOperationException - if this is not a JsMessage.StringPart.