org.apache.xalan.res

Class XSLTErrorResources_sv

public class XSLTErrorResources_sv extends XSLTErrorResources

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 StringBAD_CODE
String for use when a bad error code was encountered.
static StringERROR_HEADER
String to prepend to error messages.
static StringERROR_STRING
General error string.
static StringFORMAT_FAILED
String for use when formatting of the error string failed.
static intMAX_CODE
Maximum error messages, this is needed to keep track of the number of messages.
static intMAX_MESSAGES
Maximum total warnings and error messages.
static intMAX_OTHERS
Maximum misc strings.
static intMAX_WARNING
Maximum warnings, this is needed to keep track of the number of warnings.
static StringQUERY_HEADER
I don't think this is used any more.
static StringWARNING_HEADER
String to prepend to warning messages.
static StringXML_HEADER
String to specify the XML parser module.
static StringXSL_HEADER
String to specify the XSLT module.
Method Summary
Object[][]getContents()
Get the lookup table for error messages.

Field Detail

BAD_CODE

public static final String BAD_CODE
String for use when a bad error code was encountered.

ERROR_HEADER

public static final String ERROR_HEADER
String to prepend to error messages.

ERROR_STRING

public static final String ERROR_STRING
General error string.

FORMAT_FAILED

public static final String FORMAT_FAILED
String for use when formatting of the error string failed.

MAX_CODE

public static final int MAX_CODE
Maximum error messages, this is needed to keep track of the number of messages.

MAX_MESSAGES

public static final int MAX_MESSAGES
Maximum total warnings and error messages.

MAX_OTHERS

public static final int MAX_OTHERS
Maximum misc strings.

MAX_WARNING

public static final int MAX_WARNING
Maximum warnings, this is needed to keep track of the number of warnings.

QUERY_HEADER

public static final String QUERY_HEADER

Deprecated:

I don't think this is used any more.

WARNING_HEADER

public static final String WARNING_HEADER
String to prepend to warning messages.

XML_HEADER

public static final String XML_HEADER
String to specify the XML parser module.

XSL_HEADER

public static final String XSL_HEADER
String to specify the XSLT module.

Method Detail

getContents

public Object[][] getContents()
Get the lookup table for error messages.

Returns: The int to message lookup table.

Copyright B) 2006 Apache XML Project. All Rights Reserved.