org.eclipse.ercp.xml.parser
Class EXmlMsg

java.lang.Object
  extended by org.eclipse.ercp.xml.parser.EXmlMsg

public class EXmlMsg
extends java.lang.Object

String Externalization for MLRF


Field Summary
static int APPENDING_NODE
           
static int CANNOT_BE_NULL
           
static int COALESCING_NOT_SUPPORTED
           
static int COMMENTS_NOT_SUPPORTED
           
static int CS_OR_BS_SET_ERROR
           
static int DOC_TYPE_CREATED_YET
           
static int EndingTagExpected
           
static int ERROR_ATTRIBUT_VALUE_EXPECTED
           
static int ERROR_CDATA
           
static int ERROR_DOCTYPE
           
static int ERROR_END_OF_TAG_EXPECTED
           
static int ERROR_END_QUOTE_EXPECTED
           
static int ERROR_EQUAL_EXPECTED
           
static int ERROR_GT_EXPECTED
           
static int ERROR_LT_EXPECTED
           
static int ERROR_QUESTIONMARK_EXPECTED
           
static int ERROR_TAG_COMMENT_EXPECTED
           
static int ERROR_TAG_EXPECTED
           
static int ERROR_TAG_NAME_EXPECTED
           
static int ERROR_WRONG_PI
           
static int ERROR_WRONG_TAG_HEADER
           
static int EXPAND_ENTITY_NOT_SUPPORTED
           
static int HIERARCHY_REQUEST_ERR
           
static int INSERTING_NODE
           
static int INUSE_ATTRIBUTE_ERR
           
static int MALFORMED_UTF16BE
           
static int MALFORMED_UTF16LE
           
static int MALFORMED_UTF8_1
           
static int MALFORMED_UTF8_2
           
static int MALFORMED_UTF8_3
           
static int MissingArgument
           
static int NOT_FOUND_ERR
           
static int NOT_SUPPORTED
           
static int Null
           
static int Parsing_yet
           
static int REMOVING_NODE
           
static int REPLACING_NODE
           
static int SYSTEMID_SET_ERROR
           
static int VALIDATION_NOT_SUPPORTED
           
static int WARNING_END_TAG_EXPECTED
           
static int WARNING_PREFIX_UNKNOWN
           
static int WARNING_START_TAG_EXPECTED
           
static int WARNING_UNKNOWN_CHARACTER_DEF
           
static int WARNING_UNSUPPORTED_ENCODING
           
static int WRONG_DOCUMENT_ERR
           
static int WRONG_ENDING_DOC
           
static int WS_IGNORED_NOT_SUPPORTED
           
 
Constructor Summary
EXmlMsg(java.lang.Class clazz, java.lang.String resourceName, java.lang.String prefix)
          Constructor
 
Method Summary
static EXmlMsg getDefault()
           
 java.lang.String getString(int key)
          Retrieves a message which has no arguments.
 java.lang.String getString(int key, char arg)
          Retrieves a message which takes 1 character argument.
 java.lang.String getString(int key, int arg)
          Retrieves a message which takes 1 integer argument.
 java.lang.String getString(int key, java.lang.Object arg)
          Retrieves a message which takes 1 argument.
 java.lang.String getString(int key, java.lang.Object[] args)
          Retrieves a message which takes several arguments.
protected  java.util.Hashtable readStrings(java.lang.Class clazz, java.lang.String resourceName)
           
protected  java.util.Hashtable readStrings(java.lang.Class clazz, java.lang.String resourceName, java.lang.String language, java.lang.String region, java.lang.String variant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Parsing_yet

public static final int Parsing_yet
See Also:
Constant Field Values

Null

public static final int Null
See Also:
Constant Field Values

MissingArgument

public static final int MissingArgument
See Also:
Constant Field Values

ERROR_ATTRIBUT_VALUE_EXPECTED

public static final int ERROR_ATTRIBUT_VALUE_EXPECTED
See Also:
Constant Field Values

ERROR_TAG_EXPECTED

public static final int ERROR_TAG_EXPECTED
See Also:
Constant Field Values

ERROR_TAG_NAME_EXPECTED

public static final int ERROR_TAG_NAME_EXPECTED
See Also:
Constant Field Values

ERROR_WRONG_TAG_HEADER

public static final int ERROR_WRONG_TAG_HEADER
See Also:
Constant Field Values

ERROR_GT_EXPECTED

public static final int ERROR_GT_EXPECTED
See Also:
Constant Field Values

ERROR_LT_EXPECTED

public static final int ERROR_LT_EXPECTED
See Also:
Constant Field Values

ERROR_TAG_COMMENT_EXPECTED

public static final int ERROR_TAG_COMMENT_EXPECTED
See Also:
Constant Field Values

ERROR_WRONG_PI

public static final int ERROR_WRONG_PI
See Also:
Constant Field Values

ERROR_EQUAL_EXPECTED

public static final int ERROR_EQUAL_EXPECTED
See Also:
Constant Field Values

ERROR_END_OF_TAG_EXPECTED

public static final int ERROR_END_OF_TAG_EXPECTED
See Also:
Constant Field Values

ERROR_END_QUOTE_EXPECTED

public static final int ERROR_END_QUOTE_EXPECTED
See Also:
Constant Field Values

ERROR_QUESTIONMARK_EXPECTED

public static final int ERROR_QUESTIONMARK_EXPECTED
See Also:
Constant Field Values

WARNING_UNKNOWN_CHARACTER_DEF

public static final int WARNING_UNKNOWN_CHARACTER_DEF
See Also:
Constant Field Values

WARNING_END_TAG_EXPECTED

public static final int WARNING_END_TAG_EXPECTED
See Also:
Constant Field Values

WARNING_UNSUPPORTED_ENCODING

public static final int WARNING_UNSUPPORTED_ENCODING
See Also:
Constant Field Values

WRONG_DOCUMENT_ERR

public static final int WRONG_DOCUMENT_ERR
See Also:
Constant Field Values

INUSE_ATTRIBUTE_ERR

public static final int INUSE_ATTRIBUTE_ERR
See Also:
Constant Field Values

NOT_FOUND_ERR

public static final int NOT_FOUND_ERR
See Also:
Constant Field Values

EndingTagExpected

public static final int EndingTagExpected
See Also:
Constant Field Values

NOT_SUPPORTED

public static final int NOT_SUPPORTED
See Also:
Constant Field Values

DOC_TYPE_CREATED_YET

public static final int DOC_TYPE_CREATED_YET
See Also:
Constant Field Values

INSERTING_NODE

public static final int INSERTING_NODE
See Also:
Constant Field Values

REPLACING_NODE

public static final int REPLACING_NODE
See Also:
Constant Field Values

REMOVING_NODE

public static final int REMOVING_NODE
See Also:
Constant Field Values

APPENDING_NODE

public static final int APPENDING_NODE
See Also:
Constant Field Values

COALESCING_NOT_SUPPORTED

public static final int COALESCING_NOT_SUPPORTED
See Also:
Constant Field Values

VALIDATION_NOT_SUPPORTED

public static final int VALIDATION_NOT_SUPPORTED
See Also:
Constant Field Values

EXPAND_ENTITY_NOT_SUPPORTED

public static final int EXPAND_ENTITY_NOT_SUPPORTED
See Also:
Constant Field Values

COMMENTS_NOT_SUPPORTED

public static final int COMMENTS_NOT_SUPPORTED
See Also:
Constant Field Values

WS_IGNORED_NOT_SUPPORTED

public static final int WS_IGNORED_NOT_SUPPORTED
See Also:
Constant Field Values

CANNOT_BE_NULL

public static final int CANNOT_BE_NULL
See Also:
Constant Field Values

MALFORMED_UTF8_1

public static final int MALFORMED_UTF8_1
See Also:
Constant Field Values

MALFORMED_UTF8_2

public static final int MALFORMED_UTF8_2
See Also:
Constant Field Values

MALFORMED_UTF8_3

public static final int MALFORMED_UTF8_3
See Also:
Constant Field Values

MALFORMED_UTF16BE

public static final int MALFORMED_UTF16BE
See Also:
Constant Field Values

MALFORMED_UTF16LE

public static final int MALFORMED_UTF16LE
See Also:
Constant Field Values

CS_OR_BS_SET_ERROR

public static final int CS_OR_BS_SET_ERROR
See Also:
Constant Field Values

SYSTEMID_SET_ERROR

public static final int SYSTEMID_SET_ERROR
See Also:
Constant Field Values

WARNING_PREFIX_UNKNOWN

public static final int WARNING_PREFIX_UNKNOWN
See Also:
Constant Field Values

WARNING_START_TAG_EXPECTED

public static final int WARNING_START_TAG_EXPECTED
See Also:
Constant Field Values

WRONG_ENDING_DOC

public static final int WRONG_ENDING_DOC
See Also:
Constant Field Values

ERROR_CDATA

public static final int ERROR_CDATA
See Also:
Constant Field Values

ERROR_DOCTYPE

public static final int ERROR_DOCTYPE
See Also:
Constant Field Values

HIERARCHY_REQUEST_ERR

public static final int HIERARCHY_REQUEST_ERR
See Also:
Constant Field Values
Constructor Detail

EXmlMsg

public EXmlMsg(java.lang.Class clazz,
               java.lang.String resourceName,
               java.lang.String prefix)
Constructor

Method Detail

getDefault

public static EXmlMsg getDefault()

readStrings

protected java.util.Hashtable readStrings(java.lang.Class clazz,
                                          java.lang.String resourceName)

readStrings

protected java.util.Hashtable readStrings(java.lang.Class clazz,
                                          java.lang.String resourceName,
                                          java.lang.String language,
                                          java.lang.String region,
                                          java.lang.String variant)

getString

public java.lang.String getString(int key)
Retrieves a message which has no arguments.


getString

public java.lang.String getString(int key,
                                  java.lang.Object arg)
Retrieves a message which takes 1 argument.


getString

public java.lang.String getString(int key,
                                  int arg)
Retrieves a message which takes 1 integer argument.


getString

public java.lang.String getString(int key,
                                  char arg)
Retrieves a message which takes 1 character argument.


getString

public java.lang.String getString(int key,
                                  java.lang.Object[] args)
Retrieves a message which takes several arguments.