org.apache.axis2.wsdl.i18n
Class CodegenMessages

java.lang.Object
  extended by org.apache.axis2.wsdl.i18n.CodegenMessages

public class CodegenMessages
extends java.lang.Object

See Also:
The implementation is the same but just thisClass static reference has CodegenMessages.class

Constructor Summary
CodegenMessages()
           
 
Method Summary
static java.lang.String getMessage(java.lang.String key)
          Gets a message from resource.properties from the package of the given object.
static java.lang.String getMessage(java.lang.String key, java.lang.String arg0)
          Gets a message from resource.properties from the package of the given object.
static java.lang.String getMessage(java.lang.String key, java.lang.String[] args)
          Gets a message from resource.properties from the package of the given object.
static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1)
          Gets a message from resource.properties from the package of the given object.
static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)
          Gets a message from resource.properties from the package of the given object.
static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)
          Gets a message from resource.properties from the package of the given object.
static java.lang.String getMessage(java.lang.String key, java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)
          Gets a message from resource.properties from the package of the given object.
static MessageBundle getMessageBundle()
           
static java.util.ResourceBundle getResourceBundle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodegenMessages

public CodegenMessages()
Method Detail

getMessage

public static java.lang.String getMessage(java.lang.String key)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.String arg0)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.String arg0,
                                          java.lang.String arg1)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.String arg0,
                                          java.lang.String arg1,
                                          java.lang.String arg2)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.String arg0,
                                          java.lang.String arg1,
                                          java.lang.String arg2,
                                          java.lang.String arg3)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
arg3 - The argument to place in variable {3}
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.String arg0,
                                          java.lang.String arg1,
                                          java.lang.String arg2,
                                          java.lang.String arg3,
                                          java.lang.String arg4)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
arg0 - The argument to place in variable {0}
arg1 - The argument to place in variable {1}
arg2 - The argument to place in variable {2}
arg3 - The argument to place in variable {3}
arg4 - The argument to place in variable {4}
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.String[] args)
                                   throws java.util.MissingResourceException
Gets a message from resource.properties from the package of the given object.

Parameters:
key - The resource key
args - An array of objects to place in corresponding variables
Returns:
Returns the formatted message.
Throws:
java.util.MissingResourceException

getResourceBundle

public static java.util.ResourceBundle getResourceBundle()

getMessageBundle

public static MessageBundle getMessageBundle()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.