org.apache.xalan.res
Class XSLTErrorResources_sv

java.lang.Object
  extended byjava.util.ResourceBundle
      extended byjava.util.ListResourceBundle
          extended byorg.apache.xalan.res.XSLTErrorResources
              extended byorg.apache.xalan.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 )


Nested Class Summary
 
Nested classes inherited from class java.util.ResourceBundle
 
Field Summary
static String BAD_CODE
          String for use when a bad error code was encountered.
static Object[][] contents
          The lookup table for error messages.
static String ERROR_HEADER
          String to prepend to error messages.
static String ERROR_STRING
          General error string.
static 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 String QUERY_HEADER
          Deprecated.  
static String WARNING_HEADER
          String to prepend to warning messages.
static String XML_HEADER
          String to specify the XML parser module.
static String XSL_HEADER
          String to specify the XSLT module.
 
Fields inherited from class org.apache.xalan.res.XSLTErrorResources
ER_ARG_LITERAL, ER_ASSERT_NO_TEMPLATE_PARENT, ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR, ER_ATTR_NOT_ALLOWED, ER_ATTRIB_VALUE_NOT_FOUND, ER_ATTRIB_VALUE_NOT_RECOGNIZED, ER_AXIS_NOT_SUPPORTED, ER_AXIS_TRAVERSER_NOT_SUPPORTED, ER_BAD_STYLESHEET_URL, ER_BAD_VAL_ON_LEVEL_ATTRIB, ER_BAD_VALUE, ER_BAD_XSLSORT_USE, ER_BUFFER_SIZE_LESSTHAN_ZERO, ER_CALL_TO_EXT_FAILED, ER_CAN_ONLY_OUTPUT_TO_ELEMENT, ER_CANNOT_ADD, ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT, ER_CANNOT_CALL_PARSE, ER_CANNOT_CHANGE_WHILE_PARSING, ER_CANNOT_CMPL_EXTENSN, ER_CANNOT_CREATE_EXTENSN, ER_CANNOT_FIND_SAX1_DRIVER, ER_CANNOT_INIT_BSFMGR, ER_CANNOT_INIT_DEFAULT_TEMPLATES, ER_CANNOT_INIT_URI_EMPTY_PARMS, ER_CANNOT_MIX_XERCESDOM, ER_CANNOT_OVERWRITE_CAUSE, ER_CANNOT_SERIALIZE_XSLPROCESSOR, ER_CANNOT_TRANSFORM_SOURCE_TYPE, ER_CANNOT_TRANSFORM_TO_RESULT_TYPE, ER_CANT_CREATE_ITEM, ER_CANT_CREATE_URL, ER_CANT_RESOLVE_NAME_AVT, ER_CANT_RESOLVE_NSPREFIX, ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER, ER_CANT_USE_DTM_FOR_INPUT, ER_CANT_USE_DTM_FOR_OUTPUT, ER_CHARS_NOT_ALLOWED, ER_CHOOSE_REQUIRES_WHEN, ER_CHUNKEDINTARRAY_NOT_SUPPORTED, ER_CLASS_NOT_FOUND_FOR_OPTION, ER_COJOINROUTINESET_FAILED, ER_COROUTINE_CO_EXIT, ER_COROUTINE_NOT_AVAIL, ER_COROUTINE_PARAM, ER_COULD_NOT_CREATE_TRACELISTENER, ER_COULD_NOT_CREATE_XML_PROC_LIAISON, ER_COULD_NOT_FIND_EXTERN_SCRIPT, ER_COULD_NOT_INIT_PARSER, ER_COULD_NOT_LOAD_RESOURCE, ER_COULD_NOT_RESOLVE_NODE, ER_COULDNT_FIND_FRAGMENT, ER_COULDNT_PARSE_DOC, ER_CURRENCY_SIGN_ILLEGAL, ER_DEFAULTSPACE_NOT_SUPPORTED, ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM, ER_DUPLICATE_GLOBAL_VAR, ER_DUPLICATE_NAMED_TEMPLATE, ER_DUPLICATE_VAR, ER_ELEM_CONTENT_NOT_ALLOWED, ER_ELEMENT_NAME_METHOD_STATIC, ER_ELEMTEMPLATEELEM_ERR, ER_ENCODING_NOT_SUPPORTED, ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, ER_ERRORLISTENER, ER_EXCEPTION_CREATING_POOL, ER_EXTENSION_FUNC_UNKNOWN, ER_FAILED_CALLING_METHOD, ER_FAILED_CREATING_ELEMLITRSLT, ER_FAILED_CREATING_ELEMTMPL, ER_FAILED_PROCESS_STYLESHEET, ER_FEATURE, ER_FILE_CANNOT_BE_NULL, ER_FILE_NOT_FOUND, ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB, ER_FRAG_FOR_GENERIC_URI, ER_FRAG_INVALID_CHAR, ER_FRAG_WHEN_PATH_NULL, ER_FUNCTION_NOT_SUPPORTED, ER_HOST_ADDRESS_NOT_WELLFORMED, ER_ILLEGAL_ATTRIB, ER_ILLEGAL_ATTRIBUTE, ER_ILLEGAL_ATTRIBUTE_VALUE, ER_ILLEGAL_DOMSOURCE_INPUT, ER_ILLEGAL_VALUE, ER_ILLEGAL_XMLSPACE_VALUE, ER_IMPORTING_ITSELF, ER_IMPORTS_AS_FIRST_ELEM, ER_IN_ELEMTEMPLATEELEM_READOBJECT, ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, ER_INDENTRESULT_NOT_SUPPORTED, ER_INPUT_CANNOT_BE_NULL, ER_INSTANCE_MTHD_CALL_REQUIRES, ER_INVALID_CONTEXT_PASSED, ER_INVALID_DRIVER, ER_INVALID_DRIVER_NAME, ER_INVALID_ELEMENT_NAME, ER_INVALID_KEY_CALL, ER_INVALID_OPTION, ER_INVALID_PORT, ER_INVALID_PREFIX, ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX, ER_INVALID_UTF16_SURROGATE, ER_IOEXCEPTION, ER_ITERATOR_AXIS_NOT_IMPLEMENTED, ER_ITERATOR_CLONE_NOT_SUPPORTED, ER_KEY_REQUIRES_MATCH_ATTRIB, ER_KEY_REQUIRES_NAME_ATTRIB, ER_KEY_REQUIRES_USE_ATTRIB, ER_LOCATION_UNKNOWN, ER_MALFORMED_FORMAT_STRING, ER_METHOD_NOT_SUPPORTED, ER_MISPLACED_XSLOTHERWISE, ER_MISPLACED_XSLWHEN, ER_MISSING_ARG_FOR_OPTION, ER_MISSING_CONTAINER_ELEMENT_COMPONENT, ER_MISSING_LANG_ATTRIB, ER_MISSING_NS_URI, ER_MISSING_PREFIX_ATTRIB, ER_MORE_MATCH_CONSTRUCTOR, ER_MORE_MATCH_ELEMENT, ER_MORE_MATCH_METHOD, ER_MUST_HAVE_TEST_ATTRIB, ER_NEED_MATCH_ATTRIB, ER_NEED_NAME_ATTRIB, ER_NEED_NAME_OR_MATCH_ATTRIB, ER_NEED_SELECT_ATTRIB, ER_NEED_TEST_ATTRIB, ER_NO_APPLY_IMPORT_IN_FOR_EACH, ER_NO_ATTRIB_SET, ER_NO_CLONE_OF_DOCUMENT_FRAG, ER_NO_CONTEXT_OWNERDOC, ER_NO_CURLYBRACE, ER_NO_DEFAULT_IMPL, ER_NO_DRIVER_NAME, ER_NO_DRIVER_NAME_SPECIFIED, ER_NO_DTMIDS_AVAIL, ER_NO_FRAGMENT_STRING_IN_PATH, ER_NO_HREF_ATTRIB, ER_NO_INPUT_STYLESHEET, ER_NO_NAME_ATTRIB, ER_NO_NAMESPACE_DECL, ER_NO_OUTPUT_SPECIFIED, ER_NO_OWNERDOC, ER_NO_PARENT_FOR_FILTER, ER_NO_PARSE_CALL_WHILE_PARSING, ER_NO_PORT_IF_NO_HOST, ER_NO_QUERY_STRING_IN_PATH, ER_NO_SCHEME_IN_URI, ER_NO_SCHEME_INURI, ER_NO_SELECT_EXPRESSION, ER_NO_STYLESHEET_IN_MEDIA, ER_NO_STYLESHEET_PI, ER_NO_STYLESHEETROOT, ER_NO_URL, ER_NO_URL_SPECIFIED, ER_NO_USERINFO_IF_NO_HOST, ER_NO_XSLKEY_DECLARATION, ER_NODE_NON_NULL, ER_NODE_NOT_ELEMENT, ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION, ER_NOT_ALLOWED_IN_POSITION, ER_NOT_ALLOWED_INSIDE_STYLESHEET, ER_NOT_ALLOWED_INSIDE_TEMPLATE, ER_NOT_SUCCESSFUL, ER_NOT_SUPPORTED, ER_NULL_CHILD, ER_NULL_CONTENT_HANDLER, ER_NULL_DTD_HANDLER, ER_NULL_ENTITY_RESOLVER, ER_NULL_ERROR_HANDLER, ER_NULL_SOURCENODE_APPLYIMPORTS, ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES, ER_NULL_URI_NAMESPACE, ER_NUMBER_TOO_BIG, ER_OFFSET_BIGGER_THAN_SLOT, ER_ONE_OR_TWO, ER_OUTPUT_PROPERTY_NOT_RECOGNIZED, ER_PARSER_ARG_CANNOT_BE_NULL, ER_PARSER_DOTERMINATE_ANSWERS, ER_PARSER_IN_USE, ER_PARSER_PROPERTY_NOT_SPECIFIED, ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, ER_PATH_INVALID_CHAR, ER_POOL_EXISTS, ER_POOL_SIZE_LESSTHAN_ONE, ER_POOLSIZE_LESS_THAN_ONE, ER_PORT_WHEN_HOST_NULL, ER_PREFIX_MUST_RESOLVE, ER_PROCESS_ERROR, ER_PROCESS_NOT_SUCCESSFUL, ER_PROCESSFROMNODE_FAILED, ER_PROCESSINCLUDE_ERROR, ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML, ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, ER_PROCESSOR_ERROR, ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL, ER_PROPERTY, ER_PROPERTY_VALUE_BOOLEAN, ER_REDIRECT_COULDNT_GET_FILENAME, ER_REFERENCING_ITSELF, ER_REQUIRED_ELEM_NOT_FOUND, ER_REQUIRES_ATTRIB, ER_REQUIRES_ELEMENTS_ATTRIB, ER_RESOURCE_COULD_NOT_FIND, ER_RESOURCE_COULD_NOT_LOAD, ER_RESULT_COULD_NOT_BE_SET, ER_RESULT_NULL, ER_RESULTNS_NOT_SUPPORTED, ER_SAX_EXCEPTION, ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER, ER_SAX1_DRIVER_NOT_INSTANTIATED, ER_SAX1_DRIVER_NOT_LOADED, ER_SCHEME_FROM_NULL_STRING, ER_SCHEME_NOT_CONFORMANT, ER_SCHEME_REQUIRED, ER_SELF_CAUSATION_NOT_PERMITTED, ER_SOURCE_CANNOT_BE_NULL, ER_STARTPARSE_NEEDS_SAXPARSER, ER_STARTPARSE_WHILE_PARSING, ER_STYLESHEET_DIRECTED_TERMINATION, ER_STYLESHEET_INCLUDES_ITSELF, ER_STYLESHEET_REQUIRES_VERSION_ATTRIB, ER_SYSTEMID_UNKNOWN, ER_TEMPLATE_NAME_MATCH, ER_TEMPLATE_NOT_FOUND, ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB, ER_TOO_MANY_LISTENERS, ER_TWO_OR_THREE, ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, ER_UNIMPLNODE_ERROR, ER_UNKNOWN_AXIS_TYPE, ER_UNKNOWN_ERROR_CALLING_EXTENSION, ER_UNKNOWN_EXT_NS_PREFIX, ER_UNKNOWN_XSL_ELEM, ER_URI_CANNOT_BE_NULL, ER_VALUE_SHOULD_BE_NUMBER, ER_VALUE_SHOULD_EQUAL, ER_XMLRDR_NOT_BEFORE_STARTPARSE, ER_XMLSPACE_ILLEGAL_VAL, ER_XMLSPACE_ILLEGAL_VALUE, ER_XSLATTRSET_USED_ITSELF, ER_XSLFUNCTIONS_UNSUPPORTED, ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE, ER_XSLT_ERROR, ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE, INVALID_BOOLEAN, INVALID_ENUM, INVALID_NCNAME, INVALID_NMTOKEN, INVALID_NUMBER, INVALID_QNAME, INVALID_TCHAR, WG_ATTR_TEMPLATE, WG_ATTRIB_NOT_HANDLED, WG_CANNOT_FIND_COLLATOR, WG_CANNOT_LOAD_REQUESTED_DOC, WG_CANNOT_MAKE_URL_FROM, WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE, WG_COULD_NOT_RESOLVE_PREFIX, WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR, WG_EMPTY_SECOND_ARG, WG_ENCODING_NOT_SUPPORTED_USING_JAVA, WG_ENCODING_NOT_SUPPORTED_USING_UTF8, WG_EXPR_ATTRIB_CHANGED_TO_SELECT, WG_FOUND_CURLYBRACE, WG_FUNCTIONS_SHOULD_USE_URL, WG_ILLEGAL_ATTRIBUTE, WG_ILLEGAL_ATTRIBUTE_NAME, WG_ILLEGAL_ATTRIBUTE_POSITION, WG_ILLEGAL_ATTRIBUTE_VALUE, WG_LOCALE_NOT_FOUND, WG_NO_DECIMALFORMAT_DECLARATION, WG_NO_LOCALE_IN_FORMATNUMBER, WG_OLD_XSLT_NS, WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED, WG_PARSING_AND_PREPARING, WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML, WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, WG_SPECIFICITY_CONFLICTS, WG_STYLESHEET_REQUIRES_VERSION_ATTRIB, WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE
 
Fields inherited from class java.util.ListResourceBundle
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
XSLTErrorResources_sv()
           
 
Method Summary
 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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_CODE

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

See Also:
Constant Field Values

MAX_WARNING

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

See Also:
Constant Field Values

MAX_OTHERS

public static final int MAX_OTHERS
Maximum misc strings.

See Also:
Constant Field Values

MAX_MESSAGES

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

See Also:
Constant Field Values

contents

public static final Object[][] contents
The lookup table for error messages.


BAD_CODE

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

See Also:
Constant Field Values

FORMAT_FAILED

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

See Also:
Constant Field Values

ERROR_STRING

public static final String ERROR_STRING
General error string.

See Also:
Constant Field Values

ERROR_HEADER

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

See Also:
Constant Field Values

WARNING_HEADER

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

See Also:
Constant Field Values

XSL_HEADER

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

See Also:
Constant Field Values

XML_HEADER

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

See Also:
Constant Field Values

QUERY_HEADER

public static final String QUERY_HEADER
Deprecated.  

I don't think this is used any more.

See Also:
Constant Field Values
Constructor Detail

XSLTErrorResources_sv

public XSLTErrorResources_sv()
Method Detail

getContents

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

Overrides:
getContents in class XSLTErrorResources
Returns:
The int to message lookup table.