com.saxonica.bytecode.util

## Class MessageTemplate

- java.lang.Object
- - com.saxonica.bytecode.util.MessageTemplate

- All Implemented Interfaces:
    MessageBuilder

      public class MessageTemplate
      extends Object
      implements MessageBuilder

  Helper class to build messages with a predefined prefix string, then runtime text, followed by predefined suffix string

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MessageTemplate(Generator ga, String prefixStr, int instanceVar, String suffixStr)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `buildMessage()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MessageTemplate

          public MessageTemplate(Generator ga,
                         String prefixStr,
                         int instanceVar,
                         String suffixStr)

  - ### Method Detail

    - #### buildMessage

          public void buildMessage()

      Specified by:
        `buildMessage` in interface `MessageBuilder`

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.