org.apache.ws.pubsub.i18n
Class MessagesImpl

java.lang.Object
  extended byorg.apache.ws.util.i18n.AbstractMessages
      extended byorg.apache.ws.pubsub.i18n.MessagesImpl
All Implemented Interfaces:
org.apache.ws.util.i18n.Messages

public class MessagesImpl
extends org.apache.ws.util.i18n.AbstractMessages

Singleton used by all classes below the org.apache.ws.pubsub package for retrieving i18n messages.

Author:
Ian P. Springer

Field Summary
static java.lang.String PROJECT_PACKAGE_NAME
          the package name of the project
static java.lang.String RESOURCE_PACKAGE_NAME
          package where the i18n stuff can be found
 
Constructor Summary
MessagesImpl()
           
 
Method Summary
static org.apache.ws.util.i18n.Messages getInstance()
          Returns this singleton.
protected  java.lang.String getProjectPackageName()
          Returns the project's package name.
protected  java.lang.String getResourcePackageName()
          Returns the package name where the i18n stuff can be found.
 
Methods inherited from class org.apache.ws.util.i18n.AbstractMessages
getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessageBundle, getPackage, getResourceBundle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROJECT_PACKAGE_NAME

public static final java.lang.String PROJECT_PACKAGE_NAME
the package name of the project

See Also:
Constant Field Values

RESOURCE_PACKAGE_NAME

public static final java.lang.String RESOURCE_PACKAGE_NAME
package where the i18n stuff can be found

See Also:
Constant Field Values
Constructor Detail

MessagesImpl

public MessagesImpl()
Method Detail

getInstance

public static org.apache.ws.util.i18n.Messages getInstance()
Returns this singleton.

Returns:
the singleton

getProjectPackageName

protected java.lang.String getProjectPackageName()
Returns the project's package name.

Returns:
project package name

getResourcePackageName

protected java.lang.String getResourcePackageName()
Returns the package name where the i18n stuff can be found.

Returns:
resource package name


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.