org.apache.xml.res
Class XMLErrorResources_sk

java.lang.Object
  |
  +--java.util.ResourceBundle
        |
        +--java.util.ListResourceBundle
              |
              +--org.apache.xml.res.XMLErrorResources_sk

public class XMLErrorResources_sk
extends java.util.ListResourceBundle

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 java.lang.String ER_ARG_LOCALNAME_INVALID
           
static java.lang.String ER_ARG_LOCALNAME_NULL
           
static java.lang.String ER_ARG_PREFIX_INVALID
           
static java.lang.String ER_AXIS_NOT_SUPPORTED
           
static java.lang.String ER_AXIS_TRAVERSER_NOT_SUPPORTED
           
static java.lang.String ER_BUFFER_SIZE_LESSTHAN_ZERO
           
static java.lang.String ER_CANNOT_CHANGE_WHILE_PARSING
           
static java.lang.String ER_CANNOT_INIT_URI_EMPTY_PARMS
           
static java.lang.String ER_CANNOT_OVERWRITE_CAUSE
           
static java.lang.String ER_CANT_HAVE_MORE_THAN_ONE_ROOT
           
static java.lang.String ER_CANT_OUTPUT_TEXT_BEFORE_DOC
           
static java.lang.String ER_CHILD_HAS_NO_OWNER_DOCUMENT
           
static java.lang.String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT
           
static java.lang.String ER_CHUNKEDINTARRAY_NOT_SUPPORTED
           
static java.lang.String ER_COJOINROUTINESET_FAILED
           
static java.lang.String ER_COROUTINE_CO_EXIT
           
static java.lang.String ER_COROUTINE_NOT_AVAIL
           
static java.lang.String ER_COROUTINE_PARAM
           
static java.lang.String ER_COULD_NOT_INIT_PARSER
           
static java.lang.String ER_COULD_NOT_LOAD_METHOD_PROPERTY
           
static java.lang.String ER_COULD_NOT_LOAD_RESOURCE
           
static java.lang.String ER_COULD_NOT_RESOLVE_NODE
           
static java.lang.String ER_CREATEDOCUMENT_NOT_SUPPORTED
           
static java.lang.String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER
           
static java.lang.String ER_EXCEPTION_CREATING_POOL
           
static java.lang.String ER_FRAG_FOR_GENERIC_URI
           
static java.lang.String ER_FRAG_INVALID_CHAR
           
static java.lang.String ER_FRAG_WHEN_PATH_NULL
           
static java.lang.String ER_FUNCTION_NOT_SUPPORTED
           
static java.lang.String ER_HOST_ADDRESS_NOT_WELLFORMED
           
static java.lang.String ER_ILLEGAL_ATTRIBUTE_POSITION
           
static java.lang.String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE
           
static java.lang.String ER_INVALID_PORT
           
static java.lang.String ER_INVALID_UTF16_SURROGATE
           
static java.lang.String ER_ITERATOR_AXIS_NOT_IMPLEMENTED
           
static java.lang.String ER_ITERATOR_CLONE_NOT_SUPPORTED
           
static java.lang.String ER_LOCATION_UNKNOWN
           
static java.lang.String ER_METHOD_NOT_SUPPORTED
           
static java.lang.String ER_NAMESPACE_PREFIX
           
static java.lang.String ER_NO_DEFAULT_IMPL
           
static java.lang.String ER_NO_DTMIDS_AVAIL
           
static java.lang.String ER_NO_FRAGMENT_STRING_IN_PATH
           
static java.lang.String ER_NO_PARSE_CALL_WHILE_PARSING
           
static java.lang.String ER_NO_PORT_IF_NO_HOST
           
static java.lang.String ER_NO_QUERY_STRING_IN_PATH
           
static java.lang.String ER_NO_SCHEME_IN_URI
           
static java.lang.String ER_NO_SCHEME_INURI
           
static java.lang.String ER_NO_USERINFO_IF_NO_HOST
           
static java.lang.String ER_NODE_NON_NULL
           
static java.lang.String ER_NOT_SUPPORTED
           
static java.lang.String ER_OFFSET_BIGGER_THAN_SLOT
           
static java.lang.String ER_OIERROR
           
static java.lang.String ER_PARSER_DOTERMINATE_ANSWERS
           
static java.lang.String ER_PARSER_IN_USE
           
static java.lang.String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE
           
static java.lang.String ER_PATH_INVALID_CHAR
           
static java.lang.String ER_PORT_WHEN_HOST_NULL
           
static java.lang.String ER_PREFIX_MUST_RESOLVE
           
static java.lang.String ER_RESOURCE_COULD_NOT_FIND
           
static java.lang.String ER_RESOURCE_COULD_NOT_LOAD
           
static java.lang.String ER_SCHEME_FROM_NULL_STRING
           
static java.lang.String ER_SCHEME_NOT_CONFORMANT
           
static java.lang.String ER_SCHEME_REQUIRED
           
static java.lang.String ER_SELF_CAUSATION_NOT_PERMITTED
           
static java.lang.String ER_SERIALIZER_NOT_CONTENTHANDLER
           
static java.lang.String ER_STARTPARSE_NEEDS_SAXPARSER
           
static java.lang.String ER_STARTPARSE_WHILE_PARSING
           
static java.lang.String ER_STRAY_ATTRIBUTE
           
static java.lang.String ER_STRAY_NAMESPACE
           
static java.lang.String ER_SYSTEMID_UNKNOWN
           
static java.lang.String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED
           
static java.lang.String ER_UNKNOWN_AXIS_TYPE
           
static java.lang.String ER_XMLRDR_NOT_BEFORE_STARTPARSE
           
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.
 
Constructor Summary
XMLErrorResources_sk()
           
 
Method Summary
 java.lang.Object[][] getContents()
          Get the lookup table for error messages
static XMLErrorResources loadResourceBundle(java.lang.String className)
          Return a named ResourceBundle for a particular locale.
 
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

MAX_CODE

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

MAX_WARNING

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

MAX_OTHERS

public static final int MAX_OTHERS
Maximum misc strings.

MAX_MESSAGES

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

ER_FUNCTION_NOT_SUPPORTED

public static final java.lang.String ER_FUNCTION_NOT_SUPPORTED

ER_CANNOT_OVERWRITE_CAUSE

public static final java.lang.String ER_CANNOT_OVERWRITE_CAUSE

ER_NO_DEFAULT_IMPL

public static final java.lang.String ER_NO_DEFAULT_IMPL

ER_CHUNKEDINTARRAY_NOT_SUPPORTED

public static final java.lang.String ER_CHUNKEDINTARRAY_NOT_SUPPORTED

ER_OFFSET_BIGGER_THAN_SLOT

public static final java.lang.String ER_OFFSET_BIGGER_THAN_SLOT

ER_COROUTINE_NOT_AVAIL

public static final java.lang.String ER_COROUTINE_NOT_AVAIL

ER_COROUTINE_CO_EXIT

public static final java.lang.String ER_COROUTINE_CO_EXIT

ER_COJOINROUTINESET_FAILED

public static final java.lang.String ER_COJOINROUTINESET_FAILED

ER_COROUTINE_PARAM

public static final java.lang.String ER_COROUTINE_PARAM

ER_PARSER_DOTERMINATE_ANSWERS

public static final java.lang.String ER_PARSER_DOTERMINATE_ANSWERS

ER_NO_PARSE_CALL_WHILE_PARSING

public static final java.lang.String ER_NO_PARSE_CALL_WHILE_PARSING

ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED

public static final java.lang.String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED

ER_ITERATOR_AXIS_NOT_IMPLEMENTED

public static final java.lang.String ER_ITERATOR_AXIS_NOT_IMPLEMENTED

ER_ITERATOR_CLONE_NOT_SUPPORTED

public static final java.lang.String ER_ITERATOR_CLONE_NOT_SUPPORTED

ER_UNKNOWN_AXIS_TYPE

public static final java.lang.String ER_UNKNOWN_AXIS_TYPE

ER_AXIS_NOT_SUPPORTED

public static final java.lang.String ER_AXIS_NOT_SUPPORTED

ER_NO_DTMIDS_AVAIL

public static final java.lang.String ER_NO_DTMIDS_AVAIL

ER_NOT_SUPPORTED

public static final java.lang.String ER_NOT_SUPPORTED

ER_NODE_NON_NULL

public static final java.lang.String ER_NODE_NON_NULL

ER_COULD_NOT_RESOLVE_NODE

public static final java.lang.String ER_COULD_NOT_RESOLVE_NODE

ER_STARTPARSE_WHILE_PARSING

public static final java.lang.String ER_STARTPARSE_WHILE_PARSING

ER_STARTPARSE_NEEDS_SAXPARSER

public static final java.lang.String ER_STARTPARSE_NEEDS_SAXPARSER

ER_COULD_NOT_INIT_PARSER

public static final java.lang.String ER_COULD_NOT_INIT_PARSER

ER_EXCEPTION_CREATING_POOL

public static final java.lang.String ER_EXCEPTION_CREATING_POOL

ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE

public static final java.lang.String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE

ER_SCHEME_REQUIRED

public static final java.lang.String ER_SCHEME_REQUIRED

ER_NO_SCHEME_IN_URI

public static final java.lang.String ER_NO_SCHEME_IN_URI

ER_NO_SCHEME_INURI

public static final java.lang.String ER_NO_SCHEME_INURI

ER_PATH_INVALID_CHAR

public static final java.lang.String ER_PATH_INVALID_CHAR

ER_SCHEME_FROM_NULL_STRING

public static final java.lang.String ER_SCHEME_FROM_NULL_STRING

ER_SCHEME_NOT_CONFORMANT

public static final java.lang.String ER_SCHEME_NOT_CONFORMANT

ER_HOST_ADDRESS_NOT_WELLFORMED

public static final java.lang.String ER_HOST_ADDRESS_NOT_WELLFORMED

ER_PORT_WHEN_HOST_NULL

public static final java.lang.String ER_PORT_WHEN_HOST_NULL

ER_INVALID_PORT

public static final java.lang.String ER_INVALID_PORT

ER_FRAG_FOR_GENERIC_URI

public static final java.lang.String ER_FRAG_FOR_GENERIC_URI

ER_FRAG_WHEN_PATH_NULL

public static final java.lang.String ER_FRAG_WHEN_PATH_NULL

ER_FRAG_INVALID_CHAR

public static final java.lang.String ER_FRAG_INVALID_CHAR

ER_PARSER_IN_USE

public static final java.lang.String ER_PARSER_IN_USE

ER_CANNOT_CHANGE_WHILE_PARSING

public static final java.lang.String ER_CANNOT_CHANGE_WHILE_PARSING

ER_SELF_CAUSATION_NOT_PERMITTED

public static final java.lang.String ER_SELF_CAUSATION_NOT_PERMITTED

ER_NO_USERINFO_IF_NO_HOST

public static final java.lang.String ER_NO_USERINFO_IF_NO_HOST

ER_NO_PORT_IF_NO_HOST

public static final java.lang.String ER_NO_PORT_IF_NO_HOST

ER_NO_QUERY_STRING_IN_PATH

public static final java.lang.String ER_NO_QUERY_STRING_IN_PATH

ER_NO_FRAGMENT_STRING_IN_PATH

public static final java.lang.String ER_NO_FRAGMENT_STRING_IN_PATH

ER_CANNOT_INIT_URI_EMPTY_PARMS

public static final java.lang.String ER_CANNOT_INIT_URI_EMPTY_PARMS

ER_METHOD_NOT_SUPPORTED

public static final java.lang.String ER_METHOD_NOT_SUPPORTED

ER_INCRSAXSRCFILTER_NOT_RESTARTABLE

public static final java.lang.String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE

ER_XMLRDR_NOT_BEFORE_STARTPARSE

public static final java.lang.String ER_XMLRDR_NOT_BEFORE_STARTPARSE

ER_AXIS_TRAVERSER_NOT_SUPPORTED

public static final java.lang.String ER_AXIS_TRAVERSER_NOT_SUPPORTED

ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER

public static final java.lang.String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER

ER_SYSTEMID_UNKNOWN

public static final java.lang.String ER_SYSTEMID_UNKNOWN

ER_LOCATION_UNKNOWN

public static final java.lang.String ER_LOCATION_UNKNOWN

ER_PREFIX_MUST_RESOLVE

public static final java.lang.String ER_PREFIX_MUST_RESOLVE

ER_CREATEDOCUMENT_NOT_SUPPORTED

public static final java.lang.String ER_CREATEDOCUMENT_NOT_SUPPORTED

ER_CHILD_HAS_NO_OWNER_DOCUMENT

public static final java.lang.String ER_CHILD_HAS_NO_OWNER_DOCUMENT

ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT

public static final java.lang.String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT

ER_CANT_OUTPUT_TEXT_BEFORE_DOC

public static final java.lang.String ER_CANT_OUTPUT_TEXT_BEFORE_DOC

ER_CANT_HAVE_MORE_THAN_ONE_ROOT

public static final java.lang.String ER_CANT_HAVE_MORE_THAN_ONE_ROOT

ER_ARG_LOCALNAME_NULL

public static final java.lang.String ER_ARG_LOCALNAME_NULL

ER_ARG_LOCALNAME_INVALID

public static final java.lang.String ER_ARG_LOCALNAME_INVALID

ER_ARG_PREFIX_INVALID

public static final java.lang.String ER_ARG_PREFIX_INVALID

ER_RESOURCE_COULD_NOT_FIND

public static final java.lang.String ER_RESOURCE_COULD_NOT_FIND

ER_RESOURCE_COULD_NOT_LOAD

public static final java.lang.String ER_RESOURCE_COULD_NOT_LOAD

ER_BUFFER_SIZE_LESSTHAN_ZERO

public static final java.lang.String ER_BUFFER_SIZE_LESSTHAN_ZERO

ER_INVALID_UTF16_SURROGATE

public static final java.lang.String ER_INVALID_UTF16_SURROGATE

ER_OIERROR

public static final java.lang.String ER_OIERROR

ER_NAMESPACE_PREFIX

public static final java.lang.String ER_NAMESPACE_PREFIX

ER_STRAY_ATTRIBUTE

public static final java.lang.String ER_STRAY_ATTRIBUTE

ER_STRAY_NAMESPACE

public static final java.lang.String ER_STRAY_NAMESPACE

ER_COULD_NOT_LOAD_RESOURCE

public static final java.lang.String ER_COULD_NOT_LOAD_RESOURCE

ER_COULD_NOT_LOAD_METHOD_PROPERTY

public static final java.lang.String ER_COULD_NOT_LOAD_METHOD_PROPERTY

ER_SERIALIZER_NOT_CONTENTHANDLER

public static final java.lang.String ER_SERIALIZER_NOT_CONTENTHANDLER

ER_ILLEGAL_ATTRIBUTE_POSITION

public static final java.lang.String ER_ILLEGAL_ATTRIBUTE_POSITION
Constructor Detail

XMLErrorResources_sk

public XMLErrorResources_sk()
Method Detail

getContents

public java.lang.Object[][] getContents()
Get the lookup table for error messages
Returns:
The association list.

loadResourceBundle

public static final XMLErrorResources loadResourceBundle(java.lang.String className)
                                                  throws java.util.MissingResourceException
Return a named ResourceBundle for a particular locale. This method mimics the behavior of ResourceBundle.getBundle().
Parameters:
className - the name of the class that implements the resource bundle.
Returns:
the ResourceBundle
Throws:
java.util.MissingResourceException -  


Copyright © 2005 Apache XML Project. All Rights Reserved.