Package org.apache.axis2.schema.i18n
Class SchemaCompilerMessages
- java.lang.Object
-
- org.apache.axis2.schema.i18n.SchemaCompilerMessages
-
public class SchemaCompilerMessages extends Object
-
-
Constructor Summary
Constructors Constructor Description SchemaCompilerMessages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getMessage(String key)
Gets a message from resource.properties from the package of the given object.static String
getMessage(String key, String arg0)
Get a message from resource.properties from the package of the given object.static String
getMessage(String key, String[] args)
Gets a message from resource.properties from the package of the given object.static String
getMessage(String key, String arg0, String arg1)
Gets a message from resource.properties from the package of the given object.static String
getMessage(String key, String arg0, String arg1, String arg2)
Gets a message from resource.properties from the package of the given object.static String
getMessage(String key, String arg0, String arg1, String arg2, String arg3)
Get a message from resource.properties from the package of the given object.static String
getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4)
Gets a message from resource.properties from the package of the given object.static MessageBundle
getMessageBundle()
static ResourceBundle
getResourceBundle()
-
-
-
Method Detail
-
getMessage
public static String getMessage(String key) throws 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:
MissingResourceException
-
getMessage
public static String getMessage(String key, String arg0) throws MissingResourceException
Get a message from resource.properties from the package of the given object.- Parameters:
key
- The resource keyarg0
- The argument to place in variable {0}- Returns:
- Returns the formatted message.
- Throws:
MissingResourceException
-
getMessage
public static String getMessage(String key, String arg0, String arg1) throws MissingResourceException
Gets a message from resource.properties from the package of the given object.- Parameters:
key
- The resource keyarg0
- The argument to place in variable {0}arg1
- The argument to place in variable {1}- Returns:
- Returns the formatted message.
- Throws:
MissingResourceException
-
getMessage
public static String getMessage(String key, String arg0, String arg1, String arg2) throws MissingResourceException
Gets a message from resource.properties from the package of the given object.- Parameters:
key
- The resource keyarg0
- 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:
MissingResourceException
-
getMessage
public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3) throws MissingResourceException
Get a message from resource.properties from the package of the given object.- Parameters:
key
- The resource keyarg0
- 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:
MissingResourceException
-
getMessage
public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4) throws MissingResourceException
Gets a message from resource.properties from the package of the given object.- Parameters:
key
- The resource keyarg0
- 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:
MissingResourceException
-
getMessage
public static String getMessage(String key, String[] args) throws MissingResourceException
Gets a message from resource.properties from the package of the given object.- Parameters:
key
- The resource keyargs
- An array of objects to place in corresponding variables- Returns:
- Returns the formatted message.
- Throws:
MissingResourceException
-
getResourceBundle
public static ResourceBundle getResourceBundle()
-
getMessageBundle
public static MessageBundle getMessageBundle()
-
-