org.apache.cxf.common.i18n
Class Message

java.lang.Object
  extended by org.apache.cxf.common.i18n.Message
All Implemented Interfaces:
java.io.Serializable

public class Message
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Message(java.lang.String key, java.util.logging.Logger logger, java.lang.Object... params)
          Constructor.
Message(java.lang.String key, java.util.ResourceBundle catalog, java.lang.Object... params)
          Constructor.
 
Method Summary
 java.lang.String getCode()
           
 java.lang.Object[] getParameters()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message(java.lang.String key,
               java.util.logging.Logger logger,
               java.lang.Object... params)
Constructor.

Parameters:
key - the message catalog (resource bundle) key
logger - a logger with an associated resource bundle
params - the message substitution parameters

Message

public Message(java.lang.String key,
               java.util.ResourceBundle catalog,
               java.lang.Object... params)
Constructor.

Parameters:
key - the message catalog (resource bundle) key
catalog - the resource bundle
params - the message substitution parameters
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCode

public java.lang.String getCode()

getParameters

public java.lang.Object[] getParameters()


Apache CXF