|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.utils.ImplementationMessages
ImplementationMessages provides messages internal to the parser implementation
Field Summary | |
static int |
BAD_MAJORCODE
|
static int |
ENC4
|
static int |
ENC5
|
static int |
ENC6
|
static int |
ENC7
|
static int |
FATAL_ERROR
|
static int |
FORMAT_FAILED
|
static int |
INT_DCN
|
static int |
INT_PCN
|
static int |
IO0
|
static int |
VAL_BST
|
static int |
VAL_CMSI
|
static int |
VAL_CST
|
static int |
VAL_LST
|
static int |
VAL_NIICM
|
static int |
VAL_NPCD
|
static int |
VAL_UST
|
static int |
VAL_WCGHI
|
static java.lang.String |
XERCES_IMPLEMENTATION_DOMAIN
The domain of messages concerning the Xerces implementation. |
Constructor Summary | |
ImplementationMessages()
|
Method Summary | |
java.lang.String |
createMessage(java.util.Locale locale,
int majorCode,
int minorCode,
java.lang.Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale. |
java.util.Locale |
getLocale()
Get the locale being used for error messages |
void |
setLocale(java.util.Locale locale)
Set the locale to be used for error messages |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String XERCES_IMPLEMENTATION_DOMAIN
public static final int BAD_MAJORCODE
public static final int ENC4
public static final int ENC5
public static final int ENC6
public static final int ENC7
public static final int IO0
public static final int VAL_BST
public static final int VAL_CMSI
public static final int VAL_CST
public static final int VAL_LST
public static final int VAL_NIICM
public static final int VAL_NPCD
public static final int VAL_UST
public static final int VAL_WCGHI
public static final int INT_DCN
public static final int INT_PCN
public static final int FATAL_ERROR
public static final int FORMAT_FAILED
Constructor Detail |
public ImplementationMessages()
Method Detail |
public void setLocale(java.util.Locale locale)
XMLMessageProvider
setLocale
in interface XMLMessageProvider
locale
- the new localepublic java.util.Locale getLocale()
XMLMessageProvider
getLocale
in interface XMLMessageProvider
public java.lang.String createMessage(java.util.Locale locale, int majorCode, int minorCode, java.lang.Object[] args)
createMessage
in interface XMLMessageProvider
locale
- The requested locale of the message to be
created.args
- The arguments to be used as replacement text
in the message created.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |