com.ibm.uddi.v3.management

Class MessageInserts

  1. java.lang.Object
  2. extended bycom.ibm.uddi.v3.management.MessageInserts
All implemented interfaces:
java.io.Serializable

  1. public class MessageInserts
  2. extends java.lang.Object
  3. implements java.io.Serializable
Represents a collection of message inserts, which can be values that are used as is or they may be message keys in which case they should be looked up by key in the specified ResourceBundle.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
MessageInserts()
Constructor taking no arguments.

Method Summary

Modifier and Type Method and Description
  1. void
addInsert(java.lang.String insert,boolean insertIsKey)
Adds a new message insert.
  1. java.lang.String[]
getInsertValues(java.util.ResourceBundle messages)
Returns translated insert values.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MessageInserts

  1. public MessageInserts()
Constructor taking no arguments.

Method Detail

addInsert

  1. public void addInsert(java.lang.String insert,
  2. boolean insertIsKey)
Adds a new message insert.
Parameters:
insert - - the insert key or value
insertIsKey - - whether the insert is a message key

getInsertValues

  1. public java.lang.String[] getInsertValues( java.util.ResourceBundle messages)
Returns translated insert values.
Parameters:
messages - - the ResourceBundle to use for translation.
Returns:
array of translated message values.