com.ibm.uddi.v3.management
Class MessageInserts

java.lang.Object
  extended bycom.ibm.uddi.v3.management.MessageInserts
All Implemented Interfaces:
java.io.Serializable

public class MessageInserts
extends java.lang.Object
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.

Author:
IBM
See Also:
Serialized Form

Field Summary
static java.lang.String JAVA_COPYRIGHT
           
 
Constructor Summary
MessageInserts()
          Constructor taking no arguments.
 
Method Summary
 void addInsert(java.lang.String insert, boolean insertIsKey)
          Adds a new message insert.
 java.lang.String[] getInsertValues(java.util.ResourceBundle messages)
          Returns translated insert values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_COPYRIGHT

public static final java.lang.String JAVA_COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

MessageInserts

public MessageInserts()
Constructor taking no arguments.

Method Detail

addInsert

public void addInsert(java.lang.String insert,
                      boolean insertIsKey)
Adds a new message insert.

Parameters:
insert - - the insert key or value
insertIsKey - - whether the insert is a message key

getInsertValues

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.