|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.ResourceBundle | +--java.util.ListResourceBundle | +--org.apache.xalan.res.XSLTErrorResources | +--org.apache.xalan.res.XSLTErrorResources_sv
Set up error messages. We build a two dimensional array of message keys and message strings. In order to add a new message here, you need to first add a String constant. And you need to enter key , value pair as part of contents Array. You also need to update MAX_CODE for error strings and MAX_WARNING for warnings ( Needed for only information purpose )
Field Summary | |
static java.lang.String |
BAD_CODE
String for use when a bad error code was encountered. |
static java.lang.Object[][] |
contents
The lookup table for error messages. |
static java.lang.String |
ERROR_HEADER
String to prepend to error messages. |
static java.lang.String |
ERROR_STRING
General error string. |
static java.lang.String |
FORMAT_FAILED
String for use when formatting of the error string failed. |
static int |
MAX_CODE
Maximum error messages, this is needed to keep track of the number of messages. |
static int |
MAX_MESSAGES
Maximum total warnings and error messages. |
static int |
MAX_OTHERS
Maximum misc strings. |
static int |
MAX_WARNING
Maximum warnings, this is needed to keep track of the number of warnings. |
static java.lang.String |
QUERY_HEADER
Deprecated. |
static java.lang.String |
WARNING_HEADER
String to prepend to warning messages. |
static java.lang.String |
XML_HEADER
String to specify the XML parser module. |
static java.lang.String |
XSL_HEADER
String to specify the XSLT module. |
Constructor Summary | |
XSLTErrorResources_sv()
|
Method Summary | |
java.lang.Object[][] |
getContents()
Get the lookup table. |
Methods inherited from class org.apache.xalan.res.XSLTErrorResources |
loadResourceBundle |
Methods inherited from class java.util.ListResourceBundle |
getKeys,
handleGetObject |
Methods inherited from class java.util.ResourceBundle |
getBundle,
getBundle,
getBundle,
getLocale,
getObject,
getString,
getStringArray |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int MAX_CODE
public static final int MAX_WARNING
public static final int MAX_OTHERS
public static final int MAX_MESSAGES
public static final java.lang.Object[][] contents
public static final java.lang.String BAD_CODE
public static final java.lang.String FORMAT_FAILED
public static final java.lang.String ERROR_STRING
public static final java.lang.String ERROR_HEADER
public static final java.lang.String WARNING_HEADER
public static final java.lang.String XSL_HEADER
public static final java.lang.String XML_HEADER
public static final java.lang.String QUERY_HEADER
Constructor Detail |
public XSLTErrorResources_sv()
Method Detail |
public java.lang.Object[][] getContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |