com.itextpdf.tool.xml.exceptions
Class LocaleMessages

java.lang.Object
  extended by com.itextpdf.tool.xml.exceptions.LocaleMessages

public class LocaleMessages
extends Object

Author:
Emiel Ackermann

Field Summary
static String A_EXTERNAL
           
static String A_LOCALGOTO
           
static String A_SETLOCALGOTO
           
static String ADD_HEADER
           
static String COLSPAN
           
static String CUSTOMCONTEXT_404_CONTINUE
           
static String ELEMENT_NOT_ADDED
           
static String ELEMENT_NOT_ADDED_EXC
           
static String HEADER_BM_DISABLED
           
static String HTML_IMG_RETRIEVE_FAIL
           
static String HTML_IMG_USE
           
static String IMG_SRC_NOTCONVERTED
           
static String INVALID_NESTED_TAG
           
static String LINK_404
           
static String META_404
           
static String META_CC
           
static String NO_CUSTOM_CONTEXT
           
static String NO_SIBLING
           
static String NO_TAGPROCESSOR
           
static String OWN_CONTEXT_404
           
static String PIPELINE_AUTODOC
           
static String SPACEHACK
           
static String STACK_404
           
static String STYLE_NOTPARSED
           
static String UNSUPPORTED_CHARSET
           
static String UNSUPPORTED_CLONING
           
 
Constructor Summary
LocaleMessages()
           
LocaleMessages(Locale locale)
           
 
Method Summary
static LocaleMessages getInstance()
          Returns the LocaleMessages with as Locale the default jvm locale.
 String getMessage(String key)
          Fetches the message belonging to the key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNSUPPORTED_CHARSET

public static final String UNSUPPORTED_CHARSET
See Also:
Constant Field Values

INVALID_NESTED_TAG

public static final String INVALID_NESTED_TAG
See Also:
Constant Field Values

NO_CUSTOM_CONTEXT

public static final String NO_CUSTOM_CONTEXT
See Also:
Constant Field Values

CUSTOMCONTEXT_404_CONTINUE

public static final String CUSTOMCONTEXT_404_CONTINUE
See Also:
Constant Field Values

UNSUPPORTED_CLONING

public static final String UNSUPPORTED_CLONING
See Also:
Constant Field Values

NO_TAGPROCESSOR

public static final String NO_TAGPROCESSOR
See Also:
Constant Field Values

NO_SIBLING

public static final String NO_SIBLING
See Also:
Constant Field Values

PIPELINE_AUTODOC

public static final String PIPELINE_AUTODOC
See Also:
Constant Field Values

STACK_404

public static final String STACK_404
See Also:
Constant Field Values

OWN_CONTEXT_404

public static final String OWN_CONTEXT_404
See Also:
Constant Field Values

ELEMENT_NOT_ADDED

public static final String ELEMENT_NOT_ADDED
See Also:
Constant Field Values

ELEMENT_NOT_ADDED_EXC

public static final String ELEMENT_NOT_ADDED_EXC
See Also:
Constant Field Values

IMG_SRC_NOTCONVERTED

public static final String IMG_SRC_NOTCONVERTED
See Also:
Constant Field Values

HTML_IMG_USE

public static final String HTML_IMG_USE
See Also:
Constant Field Values

HTML_IMG_RETRIEVE_FAIL

public static final String HTML_IMG_RETRIEVE_FAIL
See Also:
Constant Field Values

ADD_HEADER

public static final String ADD_HEADER
See Also:
Constant Field Values

HEADER_BM_DISABLED

public static final String HEADER_BM_DISABLED
See Also:
Constant Field Values

A_LOCALGOTO

public static final String A_LOCALGOTO
See Also:
Constant Field Values

A_EXTERNAL

public static final String A_EXTERNAL
See Also:
Constant Field Values

A_SETLOCALGOTO

public static final String A_SETLOCALGOTO
See Also:
Constant Field Values

SPACEHACK

public static final String SPACEHACK
See Also:
Constant Field Values

COLSPAN

public static final String COLSPAN
See Also:
Constant Field Values

LINK_404

public static final String LINK_404
See Also:
Constant Field Values

META_CC

public static final String META_CC
See Also:
Constant Field Values

META_404

public static final String META_404
See Also:
Constant Field Values

STYLE_NOTPARSED

public static final String STYLE_NOTPARSED
See Also:
Constant Field Values
Constructor Detail

LocaleMessages

public LocaleMessages()

LocaleMessages

public LocaleMessages(Locale locale)
Parameters:
locale - the Locale to use.
Method Detail

getInstance

public static LocaleMessages getInstance()
Returns the LocaleMessages with as Locale the default jvm locale.

Returns:
a singleton instance of LocaleMessages

getMessage

public String getMessage(String key)
Fetches the message belonging to the key.

Parameters:
key - the key for the message
Returns:
the message


Copyright © 2012. All Rights Reserved.