FileDocCategorySizeDatePackage
XSLTErrorResources_sv.javaAPI DocJava SE 5 API60888Fri Aug 26 14:55:32 BST 2005com.sun.org.apache.xalan.internal.res

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 )

Fields Summary
public static final int
MAX_CODE
Maximum error messages, this is needed to keep track of the number of messages.
public static final int
MAX_WARNING
Maximum warnings, this is needed to keep track of the number of warnings.
public static final int
MAX_OTHERS
Maximum misc strings.
public static final int
MAX_MESSAGES
Maximum total warnings and error messages.
public static final Object[]
contents
The lookup table for error messages.
public static final String
BAD_CODE
String for use when a bad error code was encountered.
public static final String
FORMAT_FAILED
String for use when formatting of the error string failed.
public static final String
ERROR_STRING
General error string.
public static final String
ERROR_HEADER
String to prepend to error messages.
public static final String
WARNING_HEADER
String to prepend to warning messages.
public static final String
XSL_HEADER
String to specify the XSLT module.
public static final String
XML_HEADER
String to specify the XML parser module.
public static final String
QUERY_HEADER
I don't think this is used any more.
Constructors Summary
Methods Summary
public java.lang.Object[][]getContents()
Get the lookup table.

return
The int to message lookup table.


                 
    
  
    return contents;