com.waveset.msgcat
Class MessageParameter

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.msgcat.MessageParameter
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject
Direct Known Subclasses:
DateTime, Number

public abstract class MessageParameter
extends AbstractXmlObject

An object that encapsulates parameters that can be passed to a localizable Message. Localization is not performed until called upon by the Catalog.


Field Summary
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
MessageParameter()
           
 
Method Summary
abstract  java.lang.String toString()
          Localize this message parameter to the default locale.
abstract  java.lang.String toString(java.util.Locale locale)
          Localize this message parameter.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getElementName, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageParameter

public MessageParameter()
Method Detail

toString

public abstract java.lang.String toString(java.util.Locale locale)
Localize this message parameter.

Parameters:
locale - The locale to use.

toString

public abstract java.lang.String toString()
Localize this message parameter to the default locale.