Apache CXF API

org.apache.cxf.common.i18n
Class Message

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

public class Message
extends Object
implements Serializable

See Also:
Serialized Form

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

Constructor Detail

Message

public Message(String key,
               Logger logger,
               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(String key,
               ResourceBundle catalog,
               Object... params)
Constructor.

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

toString

public String toString()
Overrides:
toString in class Object

getCode

public String getCode()

getParameters

public Object[] getParameters()

Apache CXF API

Apache CXF