org.apache.xml.res

Class XMLErrorResources_sv

public class XMLErrorResources_sv extends XMLErrorResources

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 the 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 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.
Method Summary
Object[][]getContents()
Get the lookup table for error messages

Field Detail

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.

Method Detail

getContents

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

Returns: The association list.

Copyright © 2005 Apache XML Project. All Rights Reserved.