Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

BNFI18NFactory Class Reference

Collaboration diagram for BNFI18NFactory:

Collaboration graph
[legend]
List of all members.

Detailed Description

The internationalized string factory.

Author:
Author
tvaline
Version:
Revision
1.13
,
Date
2005/05/04 07:02:25

Definition at line 28 of file BNFI18NFactory.java.

Public Member Functions

String toString ()
 Returns a text representation of this object.

Static Public Member Functions

static String getString (String key)
 A method to retrieve a localized text message from the resource bundle.

Static Protected Attributes

static final ResourceBundle bundle
 The resource bundle.
static final String i18n_CHLD_TSTS
 The child tests localized message.
static final String i18n_RQMT = "I18N_RQMNT"
 The requirement localized message.
static final String i18n_TST_REQD = "I18N_TST_RQD"
 The test required localized message.
static final String res
 The location of the resource bundle.


Member Function Documentation

static String getString String  key  )  [static]
 

A method to retrieve a localized text message from the resource bundle.

Parameters:
key The key for the message to retrieve
Returns:
The localized message

Definition at line 55 of file BNFI18NFactory.java.

References BNFI18NFactory.bundle.

Referenced by BNFAbstractTest.checkTests(), BNFNoFallthruTest.toString(), and BNFAbstractTest.toString().

00055 {return bundle.getString(key);}

String toString  ) 
 

Returns a text representation of this object.

Returns:
A text representation of this object

Definition at line 62 of file BNFI18NFactory.java.

00062 {return super.toString();}


Member Data Documentation

final ResourceBundle bundle [static, protected]
 

Initial value:

 ResourceBundle.getBundle(
      res)
The resource bundle.

Definition at line 34 of file BNFI18NFactory.java.

Referenced by BNFI18NFactory.getString().

final String i18n_CHLD_TSTS [static, protected]
 

Initial value:

    "I18N_CHLD_TSTS"
The child tests localized message.

Definition at line 38 of file BNFI18NFactory.java.

Referenced by BNFAbstractTest.toString().

final String i18n_RQMT = "I18N_RQMNT" [static, protected]
 

The requirement localized message.

Definition at line 42 of file BNFI18NFactory.java.

Referenced by BNFNoFallthruTest.toString().

final String i18n_TST_REQD = "I18N_TST_RQD" [static, protected]
 

The test required localized message.

Definition at line 45 of file BNFI18NFactory.java.

Referenced by BNFAbstractTest.checkTests().

final String res [static, protected]
 

Initial value:

    "com/ohrasys/cad/bnf/BNFProperties"
The location of the resource bundle.

Definition at line 30 of file BNFI18NFactory.java.


The documentation for this class was generated from the following file:
Generated on Sun Nov 13 10:13:07 2005 for JavaBackus-NaurTestAPI(JBNT) by  doxygen 1.4.2