org.marketcetera.util.log
Class I18NMessage0P

java.lang.Object
  extended by org.marketcetera.util.log.I18NMessage
      extended by org.marketcetera.util.log.I18NMessage0P
All Implemented Interfaces:
Serializable, I18NBoundMessage

public class I18NMessage0P
extends I18NMessage
implements I18NBoundMessage

An internationalized message, requiring exactly zero parameters.

Since:
0.5.0
Version:
$Id: I18NMessage0P.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.marketcetera.util.log.I18NMessage
UNKNOWN_ENTRY_ID
 
Fields inherited from interface org.marketcetera.util.log.I18NBoundMessage
EMPTY_PARAMS
 
Constructor Summary
I18NMessage0P(I18NLoggerProxy loggerProxy, String messageId)
          Constructor mirroring superclass constructor.
I18NMessage0P(I18NLoggerProxy loggerProxy, String messageId, String entryId)
          Constructor mirroring superclass constructor.
 
Method Summary
 void debug(Object category)
          A convenience method for I18NLoggerProxy.debug(Object,I18NMessage,Object...).
 void debug(Object category, Throwable throwable)
          A convenience method for I18NLoggerProxy.debug(Object,Throwable,I18NMessage,Object...).
 void error(Object category)
          A convenience method for I18NLoggerProxy.error(Object,I18NMessage,Object...).
 void error(Object category, Throwable throwable)
          A convenience method for I18NLoggerProxy.error(Object,Throwable,I18NMessage,Object...).
 I18NMessage0P getMessage()
          Returns the receiver's message.
 int getParamCount()
          Returns the number of parameters the receiver expects.
 Serializable[] getParams()
          Returns the receiver's parameters.
 Object[] getParamsAsObjects()
          Returns the receiver's parameters as objects.
 String getText()
          A convenience method for I18NMessageProvider.getText(I18NMessage,Object...).
 String getText(Locale locale)
          A convenience method for I18NMessageProvider.getText(Locale,I18NMessage,Object...).
 void info(Object category)
          A convenience method for I18NLoggerProxy.info(Object,I18NMessage,Object...).
 void info(Object category, Throwable throwable)
          A convenience method for I18NLoggerProxy.info(Object,Throwable,I18NMessage,Object...).
 String toString()
           
 void trace(Object category)
          A convenience method for I18NLoggerProxy.trace(Object,I18NMessage,Object...).
 void trace(Object category, Throwable throwable)
          A convenience method for I18NLoggerProxy.trace(Object,Throwable,I18NMessage,Object...).
 void warn(Object category)
          A convenience method for I18NLoggerProxy.warn(Object,I18NMessage,Object...).
 void warn(Object category, Throwable throwable)
          A convenience method for I18NLoggerProxy.warn(Object,Throwable,I18NMessage,Object...).
 
Methods inherited from class org.marketcetera.util.log.I18NMessage
equals, getEntryId, getLoggerProxy, getMessageId, getMessageProvider, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.marketcetera.util.log.I18NBoundMessage
getLoggerProxy, getMessageProvider
 

Constructor Detail

I18NMessage0P

public I18NMessage0P(I18NLoggerProxy loggerProxy,
                     String messageId,
                     String entryId)
Constructor mirroring superclass constructor.

See Also:
I18NMessage.I18NMessage(I18NLoggerProxy,String,String)

I18NMessage0P

public I18NMessage0P(I18NLoggerProxy loggerProxy,
                     String messageId)
Constructor mirroring superclass constructor.

See Also:
I18NMessage.I18NMessage(I18NLoggerProxy,String)
Method Detail

getParamCount

public int getParamCount()
Description copied from class: I18NMessage
Returns the number of parameters the receiver expects.

Specified by:
getParamCount in class I18NMessage
Returns:
The number of parameters; -1 indicates a variable number.

getMessage

public I18NMessage0P getMessage()
Description copied from interface: I18NBoundMessage
Returns the receiver's message.

Specified by:
getMessage in interface I18NBoundMessage
Returns:
The message.

getParams

public Serializable[] getParams()
Description copied from interface: I18NBoundMessage
Returns the receiver's parameters.

Specified by:
getParams in interface I18NBoundMessage
Returns:
The parameters.

getParamsAsObjects

public Object[] getParamsAsObjects()
Description copied from interface: I18NBoundMessage
Returns the receiver's parameters as objects.

Specified by:
getParamsAsObjects in interface I18NBoundMessage
Returns:
The parameters.

getText

public String getText(Locale locale)
Description copied from interface: I18NBoundMessage
A convenience method for I18NMessageProvider.getText(Locale,I18NMessage,Object...).

Specified by:
getText in interface I18NBoundMessage

getText

public String getText()
Description copied from interface: I18NBoundMessage
A convenience method for I18NMessageProvider.getText(I18NMessage,Object...).

Specified by:
getText in interface I18NBoundMessage

error

public void error(Object category,
                  Throwable throwable)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.error(Object,Throwable,I18NMessage,Object...).

Specified by:
error in interface I18NBoundMessage

error

public void error(Object category)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.error(Object,I18NMessage,Object...).

Specified by:
error in interface I18NBoundMessage

warn

public void warn(Object category,
                 Throwable throwable)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.warn(Object,Throwable,I18NMessage,Object...).

Specified by:
warn in interface I18NBoundMessage

warn

public void warn(Object category)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.warn(Object,I18NMessage,Object...).

Specified by:
warn in interface I18NBoundMessage

info

public void info(Object category,
                 Throwable throwable)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.info(Object,Throwable,I18NMessage,Object...).

Specified by:
info in interface I18NBoundMessage

info

public void info(Object category)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.info(Object,I18NMessage,Object...).

Specified by:
info in interface I18NBoundMessage

debug

public void debug(Object category,
                  Throwable throwable)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.debug(Object,Throwable,I18NMessage,Object...).

Specified by:
debug in interface I18NBoundMessage

debug

public void debug(Object category)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.debug(Object,I18NMessage,Object...).

Specified by:
debug in interface I18NBoundMessage

trace

public void trace(Object category,
                  Throwable throwable)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.trace(Object,Throwable,I18NMessage,Object...).

Specified by:
trace in interface I18NBoundMessage

trace

public void trace(Object category)
Description copied from interface: I18NBoundMessage
A convenience method for I18NLoggerProxy.trace(Object,I18NMessage,Object...).

Specified by:
trace in interface I18NBoundMessage

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.