org.apache.xpath.res
Class XPATHErrorResources

java.lang.Object
  extended byjava.util.ResourceBundle
      extended byjava.util.ListResourceBundle
          extended byorg.apache.xpath.res.XPATHErrorResources
Direct Known Subclasses:
XPATHErrorResources_de, XPATHErrorResources_en, XPATHErrorResources_es, XPATHErrorResources_fr, XPATHErrorResources_it, XPATHErrorResources_ja, XPATHErrorResources_ko, XPATHErrorResources_sv, XPATHErrorResources_zh_CN, XPATHErrorResources_zh_TW

public class XPATHErrorResources
extends 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 Static string constant for the Key and update the contents array with Key, Value pair Also you need to update the count of messages(MAX_CODE)or the count of warnings(MAX_WARNING) [ Information purpose only]


Nested Class Summary
 
Nested classes inherited from class java.util.ResourceBundle
 
Field Summary
static String BAD_CODE
          Field BAD_CODE
static Object[][] contents
           
static String ER_ARG_LOCALNAME_INVALID
          localname in QNAME should be a valid NCName
static String ER_ARG_LOCALNAME_NULL
           
static String ER_ARG_PREFIX_INVALID
          prefix in QNAME should be a valid NCName
static String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER
          asNodeIterator() not supported by XRTreeFragSelectWrapper
static String ER_AXES_NOT_ALLOWED
           
static String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL
           
static String ER_CANNOT_CALL_SETSHOULDCACHENODE
          Can not call setShouldCacheNodes after nextNode has been called!
static String ER_CANNOT_CREATE_URL
           
static String ER_CANNOT_DEAL_XPATH_TYPE
           
static String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL
           
static String ER_CANT_CONVERT_TO_BOOLEAN
          Field ER_CANT_CONVERT_TO_BOOLEAN
static String ER_CANT_CONVERT_TO_MUTABLENODELIST
           
static String ER_CANT_CONVERT_TO_NODELIST
           
static String ER_CANT_CONVERT_TO_NUMBER
           
static String ER_CANT_CONVERT_TO_SINGLENODE
          Field ER_CANT_CONVERT_TO_SINGLENODE
static String ER_CANT_CONVERT_TO_STRING
           
static String ER_CANT_CONVERT_TO_TYPE
           
static String ER_CANT_GET_SNAPSHOT_LENGTH
          Field ER_CANT_GET_SNAPSHOT_LENGTH
static String ER_CANT_HAVE_MORE_THAN_ONE_ROOT
           
static String ER_CANT_OUTPUT_TEXT_BEFORE_DOC
           
static String ER_CHILD_HAS_NO_OWNER_DOCUMENT
           
static String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT
           
static String ER_CONTEXT_HAS_NO_OWNERDOC
           
static String ER_COULD_NOT_FIND_VAR
          Could not find variable with the name of
static String ER_COULDNOT_BE_FORMATTED_TO_NUMBER
           
static String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON
           
static String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH
           
static String ER_COULDNOT_FIND_FUNCTION
           
static String ER_COULDNOT_GET_VAR_NAMED
           
static String ER_COUNT_TAKES_1_ARG
           
static String ER_CREATEDOCUMENT_NOT_SUPPORTED
           
static String ER_CURRENT_NOT_ALLOWED_IN_MATCH
           
static String ER_CURRENT_TAKES_NO_ARGS
           
static String ER_DIDNOT_FIND_XPATH_SELECT_EXP
           
static String ER_DOC_MUTATED
          Field ER_DOC_MUTATED
static String ER_DOCUMENT_REPLACED
           
static String ER_DTM_CANNOT_HANDLE_NODES
           
static String ER_EMPTY_EXPRESSION
           
static String ER_EMPTY_XPATH_RESULT
           
static String ER_ERROR_OCCURED
           
static String ER_EXPECTED_BUT_FOUND
           
static String ER_EXPECTED_DOUBLE_QUOTE
           
static String ER_EXPECTED_LOC_PATH
          Problem with LocationPath
static String ER_EXPECTED_LOC_STEP
          Problem with Step
static String ER_EXPECTED_MATCH_PATTERN
           
static String ER_EXPECTED_NODE_TEST
          Problem with NodeTest
static String ER_EXPECTED_REL_LOC_PATH
          Problem with RelativeLocationPath
static String ER_EXPECTED_REL_PATH_PATTERN
          Expected relative path pattern
static String ER_EXPECTED_SINGLE_QUOTE
           
static String ER_EXPECTED_STEP_PATTERN
          Expected step pattern
static String ER_EXTRA_ILLEGAL_TOKENS
           
static String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL
          The FastStringBuffer argument can not be null
static String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG
           
static String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG
           
static String ER_FSB_CANNOT_TAKE_STRING
          XStringForFSB can not take a string for an argument!
static String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS
          fsb() not supported for XStringForChars
static String ER_FUNCTION_TOKEN_NOT_FOUND
           
static String ER_IGNORABLE_WHITESPACE_NOT_HANDLED
           
static String ER_ILLEGAL_AXIS_NAME
           
static String ER_ILLEGAL_VARIABLE_REFERENCE
           
static String ER_INCOMPATIBLE_TYPES
           
static String ER_INCORRECT_ARG_LENGTH
           
static String ER_INCORRECT_PROGRAMMER_ASSERTION
           
static String ER_INVALID_UTF16_SURROGATE
           
static String ER_INVALID_XPATH_TYPE
           
static String ER_KEY_HAS_TOO_MANY_ARGS
           
static String ER_LOCALNAME_HAS_TOO_MANY_ARGS
           
static String ER_NAME_HAS_TOO_MANY_ARGS
           
static String ER_NAMESPACEAXIS_NOT_IMPLEMENTED
           
static String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS
           
static String ER_NODESET_CANNOT_INDEX
          This NodeSet can not do indexing or counting functions!
static String ER_NODESET_CANNOT_ITERATE
          This NodeSet can not iterate to a previous node!
static String ER_NODESET_NOT_MUTABLE
           
static String ER_NODESETDTM_CANNOT_INDEX
          This NodeSetDTM can not do indexing or counting functions!
static String ER_NODESETDTM_CANNOT_ITERATE
          This NodeSetDTM can not iterate to a previous node!
static String ER_NODESETDTM_NOT_MUTABLE
           
static String ER_NON_ITERATOR_TYPE
          Field ER_NON_ITERATOR_TYPE
static String ER_NON_SNAPSHOT_TYPE
           
static String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS
           
static String ER_NULL_ERROR_HANDLER
          Null error handler
static String ER_NULL_RESOLVER
           
static String ER_NUMBER_HAS_TOO_MANY_ARGS
           
static String ER_OIERROR
           
static String ER_ONLY_ALLOWS
          {0} only allows {1} arguments
static String ER_PARSE_NOT_SUPPORTED
           
static String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED
           
static String ER_PREDICATE_ILLEGAL_SYNTAX
           
static String ER_PREFIX_MUST_RESOLVE
           
static String ER_PROBLEM_IN_DTM_NEXTSIBLING
           
static String ER_PROG_ASSERT_UNKNOWN_OPCODE
          Programmer's assertion: unknown opcode
static String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER
          rtf() not supported by XRTreeFragSelectWrapper
static String ER_SAX_API_NOT_HANDLED
           
static String ER_SETDOMFACTORY_NOT_SUPPORTED
           
static String ER_SETTING_WALKER_ROOT_TO_NULL
          Error!
static String ER_STRING_HAS_TOO_MANY_ARGS
           
static String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS
           
static String ER_TRANSLATE_TAKES_3_ARGS
           
static String ER_TWO_OR_THREE
          2 or 3
static String ER_UNKNOWN_AXIS
           
static String ER_UNKNOWN_MATCH_OPERATION
           
static String ER_UNKNOWN_NODETYPE
           
static String ER_UNKNOWN_OPCODE
           
static String ER_UNKNOWN_STEP
          Programmer's assertion in getNextStepPos: unknown stepType: {0}
static String ER_UNPARSEDENTITYURI_TAKES_1_ARG
           
static String ER_UNSUPPORTED_ENCODING
           
static String ER_VAR_NOT_RESOLVABLE
          Variable not resolvable:
static String ER_VARIABLE_ACCESSED_BEFORE_BIND
          Variable accessed before it is bound!
static String ER_WRONG_DOCUMENT
           
static String ER_WRONG_NODETYPE
          Field ER_WRONG_NODETYPE
static String ER_XERCES_CANNOT_HANDLE_NODES
           
static String ER_XERCES_PARSE_ERROR
           
static String ER_XERCES_PARSE_ERROR_DETAILS
           
static String ER_XPATH_ERROR
           
static String ER_XPATH_READOBJECT
           
static String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING
          XStringForChars can not take a string for an argument
static String ER_ZERO_OR_ONE
          0 or 1
static String ERROR_HEADER
          Field ERROR_HEADER
static String ERROR_RESOURCES
          Field ERROR_RESOURCES
static String ERROR_STRING
          Field ERROR_STRING
static String ERROR0000
           
static String FORMAT_FAILED
          Field FORMAT_FAILED
static int MAX_CODE
          Field MAX_CODE
static int MAX_MESSAGES
          Field MAX_MESSAGES
static int MAX_OTHERS
          Field MAX_OTHERS
static int MAX_WARNING
          Field MAX_WARNING
static String QUERY_HEADER
          Field QUERY_HEADER
static String WARNING_HEADER
          Field WARNING_HEADER
static String WG_CANNOT_MAKE_URL_FROM
           
static String WG_COULDNOT_FIND_FUNCTION
           
static String WG_DONT_DO_ANYTHING_WITH_NS
           
static String WG_EXPAND_ENTITIES_NOT_SUPPORTED
           
static String WG_FUNCTION_TOKEN_NOT_FOUND
           
static String WG_ILLEGAL_VARIABLE_REFERENCE
           
static String WG_LOCALE_NAME_NOT_HANDLED
           
static String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST
           
static String WG_PROPERTY_NOT_SUPPORTED
           
static String WG_QUO_NO_LONGER_DEFINED
           
static String WG_SECURITY_EXCEPTION
           
static String WG_UNSUPPORTED_ENCODING
           
static String XML_HEADER
          Field XML_HEADER
static String XSL_HEADER
          Field XSL_HEADER
 
Fields inherited from class java.util.ListResourceBundle
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
XPATHErrorResources()
           
 
Method Summary
 Object[][] getContents()
          Get the association list.
private static String getResourceSuffix(Locale locale)
          Return the resource file suffic for the indicated locale For most locales, this will be based the language code.
static XPATHErrorResources loadResourceBundle(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, 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
Field MAX_CODE

See Also:
Constant Field Values

MAX_WARNING

public static final int MAX_WARNING
Field MAX_WARNING

See Also:
Constant Field Values

MAX_OTHERS

public static final int MAX_OTHERS
Field MAX_OTHERS

See Also:
Constant Field Values

MAX_MESSAGES

public static final int MAX_MESSAGES
Field MAX_MESSAGES

See Also:
Constant Field Values

ERROR0000

public static final String ERROR0000
See Also:
Constant Field Values

ER_CURRENT_NOT_ALLOWED_IN_MATCH

public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH
See Also:
Constant Field Values

ER_CURRENT_TAKES_NO_ARGS

public static final String ER_CURRENT_TAKES_NO_ARGS
See Also:
Constant Field Values

ER_DOCUMENT_REPLACED

public static final String ER_DOCUMENT_REPLACED
See Also:
Constant Field Values

ER_CONTEXT_HAS_NO_OWNERDOC

public static final String ER_CONTEXT_HAS_NO_OWNERDOC
See Also:
Constant Field Values

ER_LOCALNAME_HAS_TOO_MANY_ARGS

public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_NAMESPACEURI_HAS_TOO_MANY_ARGS

public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS

public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_NUMBER_HAS_TOO_MANY_ARGS

public static final String ER_NUMBER_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_NAME_HAS_TOO_MANY_ARGS

public static final String ER_NAME_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_STRING_HAS_TOO_MANY_ARGS

public static final String ER_STRING_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_STRINGLENGTH_HAS_TOO_MANY_ARGS

public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_TRANSLATE_TAKES_3_ARGS

public static final String ER_TRANSLATE_TAKES_3_ARGS
See Also:
Constant Field Values

ER_UNPARSEDENTITYURI_TAKES_1_ARG

public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG
See Also:
Constant Field Values

ER_NAMESPACEAXIS_NOT_IMPLEMENTED

public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED
See Also:
Constant Field Values

ER_UNKNOWN_AXIS

public static final String ER_UNKNOWN_AXIS
See Also:
Constant Field Values

ER_UNKNOWN_MATCH_OPERATION

public static final String ER_UNKNOWN_MATCH_OPERATION
See Also:
Constant Field Values

ER_INCORRECT_ARG_LENGTH

public static final String ER_INCORRECT_ARG_LENGTH
See Also:
Constant Field Values

ER_CANT_CONVERT_TO_NUMBER

public static final String ER_CANT_CONVERT_TO_NUMBER
See Also:
Constant Field Values

ER_CANT_CONVERT_TO_NODELIST

public static final String ER_CANT_CONVERT_TO_NODELIST
See Also:
Constant Field Values

ER_CANT_CONVERT_TO_MUTABLENODELIST

public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST
See Also:
Constant Field Values

ER_CANT_CONVERT_TO_TYPE

public static final String ER_CANT_CONVERT_TO_TYPE
See Also:
Constant Field Values

ER_EXPECTED_MATCH_PATTERN

public static final String ER_EXPECTED_MATCH_PATTERN
See Also:
Constant Field Values

ER_COULDNOT_GET_VAR_NAMED

public static final String ER_COULDNOT_GET_VAR_NAMED
See Also:
Constant Field Values

ER_UNKNOWN_OPCODE

public static final String ER_UNKNOWN_OPCODE
See Also:
Constant Field Values

ER_EXTRA_ILLEGAL_TOKENS

public static final String ER_EXTRA_ILLEGAL_TOKENS
See Also:
Constant Field Values

ER_EXPECTED_DOUBLE_QUOTE

public static final String ER_EXPECTED_DOUBLE_QUOTE
See Also:
Constant Field Values

ER_EXPECTED_SINGLE_QUOTE

public static final String ER_EXPECTED_SINGLE_QUOTE
See Also:
Constant Field Values

ER_EMPTY_EXPRESSION

public static final String ER_EMPTY_EXPRESSION
See Also:
Constant Field Values

ER_EXPECTED_BUT_FOUND

public static final String ER_EXPECTED_BUT_FOUND
See Also:
Constant Field Values

ER_INCORRECT_PROGRAMMER_ASSERTION

public static final String ER_INCORRECT_PROGRAMMER_ASSERTION
See Also:
Constant Field Values

ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL

public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL
See Also:
Constant Field Values

ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG

public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG
See Also:
Constant Field Values

ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG

public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG
See Also:
Constant Field Values

ER_PREDICATE_ILLEGAL_SYNTAX

public static final String ER_PREDICATE_ILLEGAL_SYNTAX
See Also:
Constant Field Values

ER_ILLEGAL_AXIS_NAME

public static final String ER_ILLEGAL_AXIS_NAME
See Also:
Constant Field Values

ER_UNKNOWN_NODETYPE

public static final String ER_UNKNOWN_NODETYPE
See Also:
Constant Field Values

ER_PATTERN_LITERAL_NEEDS_BE_QUOTED

public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED
See Also:
Constant Field Values

ER_COULDNOT_BE_FORMATTED_TO_NUMBER

public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER
See Also:
Constant Field Values

ER_COULDNOT_CREATE_XMLPROCESSORLIAISON

public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON
See Also:
Constant Field Values

ER_DIDNOT_FIND_XPATH_SELECT_EXP

public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP
See Also:
Constant Field Values

ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH

public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH
See Also:
Constant Field Values

ER_ERROR_OCCURED

public static final String ER_ERROR_OCCURED
See Also:
Constant Field Values

ER_ILLEGAL_VARIABLE_REFERENCE

public static final String ER_ILLEGAL_VARIABLE_REFERENCE
See Also:
Constant Field Values

ER_AXES_NOT_ALLOWED

public static final String ER_AXES_NOT_ALLOWED
See Also:
Constant Field Values

ER_KEY_HAS_TOO_MANY_ARGS

public static final String ER_KEY_HAS_TOO_MANY_ARGS
See Also:
Constant Field Values

ER_COUNT_TAKES_1_ARG

public static final String ER_COUNT_TAKES_1_ARG
See Also:
Constant Field Values

ER_COULDNOT_FIND_FUNCTION

public static final String ER_COULDNOT_FIND_FUNCTION
See Also:
Constant Field Values

ER_UNSUPPORTED_ENCODING

public static final String ER_UNSUPPORTED_ENCODING
See Also:
Constant Field Values

ER_PROBLEM_IN_DTM_NEXTSIBLING

public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING
See Also:
Constant Field Values

ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL

public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL
See Also:
Constant Field Values

ER_SETDOMFACTORY_NOT_SUPPORTED

public static final String ER_SETDOMFACTORY_NOT_SUPPORTED
See Also:
Constant Field Values

ER_PREFIX_MUST_RESOLVE

public static final String ER_PREFIX_MUST_RESOLVE
See Also:
Constant Field Values

ER_PARSE_NOT_SUPPORTED

public static final String ER_PARSE_NOT_SUPPORTED
See Also:
Constant Field Values

ER_CREATEDOCUMENT_NOT_SUPPORTED

public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED
See Also:
Constant Field Values

ER_CHILD_HAS_NO_OWNER_DOCUMENT

public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT
See Also:
Constant Field Values

ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT

public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT
See Also:
Constant Field Values

ER_SAX_API_NOT_HANDLED

public static final String ER_SAX_API_NOT_HANDLED
See Also:
Constant Field Values

ER_IGNORABLE_WHITESPACE_NOT_HANDLED

public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED
See Also:
Constant Field Values

ER_DTM_CANNOT_HANDLE_NODES

public static final String ER_DTM_CANNOT_HANDLE_NODES
See Also:
Constant Field Values

ER_XERCES_CANNOT_HANDLE_NODES

public static final String ER_XERCES_CANNOT_HANDLE_NODES
See Also:
Constant Field Values

ER_XERCES_PARSE_ERROR_DETAILS

public static final String ER_XERCES_PARSE_ERROR_DETAILS
See Also:
Constant Field Values

ER_XERCES_PARSE_ERROR

public static final String ER_XERCES_PARSE_ERROR
See Also:
Constant Field Values

ER_CANT_OUTPUT_TEXT_BEFORE_DOC

public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC
See Also:
Constant Field Values

ER_CANT_HAVE_MORE_THAN_ONE_ROOT

public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT
See Also:
Constant Field Values

ER_INVALID_UTF16_SURROGATE

public static final String ER_INVALID_UTF16_SURROGATE
See Also:
Constant Field Values

ER_OIERROR

public static final String ER_OIERROR
See Also:
Constant Field Values

ER_CANNOT_CREATE_URL

public static final String ER_CANNOT_CREATE_URL
See Also:
Constant Field Values

ER_XPATH_READOBJECT

public static final String ER_XPATH_READOBJECT
See Also:
Constant Field Values

ER_FUNCTION_TOKEN_NOT_FOUND

public static final String ER_FUNCTION_TOKEN_NOT_FOUND
See Also:
Constant Field Values

ER_ARG_LOCALNAME_NULL

public static final String ER_ARG_LOCALNAME_NULL
See Also:
Constant Field Values

ER_CANNOT_DEAL_XPATH_TYPE

public static final String ER_CANNOT_DEAL_XPATH_TYPE
See Also:
Constant Field Values

ER_NODESET_NOT_MUTABLE

public static final String ER_NODESET_NOT_MUTABLE
See Also:
Constant Field Values

ER_NODESETDTM_NOT_MUTABLE

public static final String ER_NODESETDTM_NOT_MUTABLE
See Also:
Constant Field Values

ER_VAR_NOT_RESOLVABLE

public static final String ER_VAR_NOT_RESOLVABLE
Variable not resolvable:

See Also:
Constant Field Values

ER_NULL_ERROR_HANDLER

public static final String ER_NULL_ERROR_HANDLER
Null error handler

See Also:
Constant Field Values

ER_PROG_ASSERT_UNKNOWN_OPCODE

public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE
Programmer's assertion: unknown opcode

See Also:
Constant Field Values

ER_ZERO_OR_ONE

public static final String ER_ZERO_OR_ONE
0 or 1

See Also:
Constant Field Values

ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER

public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER
rtf() not supported by XRTreeFragSelectWrapper

See Also:
Constant Field Values

ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER

public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER
asNodeIterator() not supported by XRTreeFragSelectWrapper

See Also:
Constant Field Values

ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS

public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS
fsb() not supported for XStringForChars

See Also:
Constant Field Values

ER_COULD_NOT_FIND_VAR

public static final String ER_COULD_NOT_FIND_VAR
Could not find variable with the name of

See Also:
Constant Field Values

ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING

public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING
XStringForChars can not take a string for an argument

See Also:
Constant Field Values

ER_FASTSTRINGBUFFER_CANNOT_BE_NULL

public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL
The FastStringBuffer argument can not be null

See Also:
Constant Field Values

ER_TWO_OR_THREE

public static final String ER_TWO_OR_THREE
2 or 3

See Also:
Constant Field Values

ER_VARIABLE_ACCESSED_BEFORE_BIND

public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND
Variable accessed before it is bound!

See Also:
Constant Field Values

ER_FSB_CANNOT_TAKE_STRING

public static final String ER_FSB_CANNOT_TAKE_STRING
XStringForFSB can not take a string for an argument!

See Also:
Constant Field Values

ER_SETTING_WALKER_ROOT_TO_NULL

public static final String ER_SETTING_WALKER_ROOT_TO_NULL
Error! Setting the root of a walker to null!

See Also:
Constant Field Values

ER_NODESETDTM_CANNOT_ITERATE

public static final String ER_NODESETDTM_CANNOT_ITERATE
This NodeSetDTM can not iterate to a previous node!

See Also:
Constant Field Values

ER_NODESET_CANNOT_ITERATE

public static final String ER_NODESET_CANNOT_ITERATE
This NodeSet can not iterate to a previous node!

See Also:
Constant Field Values

ER_NODESETDTM_CANNOT_INDEX

public static final String ER_NODESETDTM_CANNOT_INDEX
This NodeSetDTM can not do indexing or counting functions!

See Also:
Constant Field Values

ER_NODESET_CANNOT_INDEX

public static final String ER_NODESET_CANNOT_INDEX
This NodeSet can not do indexing or counting functions!

See Also:
Constant Field Values

ER_CANNOT_CALL_SETSHOULDCACHENODE

public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE
Can not call setShouldCacheNodes after nextNode has been called!

See Also:
Constant Field Values

ER_ONLY_ALLOWS

public static final String ER_ONLY_ALLOWS
{0} only allows {1} arguments

See Also:
Constant Field Values

ER_UNKNOWN_STEP

public static final String ER_UNKNOWN_STEP
Programmer's assertion in getNextStepPos: unknown stepType: {0}

See Also:
Constant Field Values

ER_EXPECTED_REL_LOC_PATH

public static final String ER_EXPECTED_REL_LOC_PATH
Problem with RelativeLocationPath

See Also:
Constant Field Values

ER_EXPECTED_LOC_PATH

public static final String ER_EXPECTED_LOC_PATH
Problem with LocationPath

See Also:
Constant Field Values

ER_EXPECTED_LOC_STEP

public static final String ER_EXPECTED_LOC_STEP
Problem with Step

See Also:
Constant Field Values

ER_EXPECTED_NODE_TEST

public static final String ER_EXPECTED_NODE_TEST
Problem with NodeTest

See Also:
Constant Field Values

ER_EXPECTED_STEP_PATTERN

public static final String ER_EXPECTED_STEP_PATTERN
Expected step pattern

See Also:
Constant Field Values

ER_EXPECTED_REL_PATH_PATTERN

public static final String ER_EXPECTED_REL_PATH_PATTERN
Expected relative path pattern

See Also:
Constant Field Values

ER_ARG_LOCALNAME_INVALID

public static final String ER_ARG_LOCALNAME_INVALID
localname in QNAME should be a valid NCName

See Also:
Constant Field Values

ER_ARG_PREFIX_INVALID

public static final String ER_ARG_PREFIX_INVALID
prefix in QNAME should be a valid NCName

See Also:
Constant Field Values

ER_CANT_CONVERT_TO_BOOLEAN

public static final String ER_CANT_CONVERT_TO_BOOLEAN
Field ER_CANT_CONVERT_TO_BOOLEAN

See Also:
Constant Field Values

ER_CANT_CONVERT_TO_SINGLENODE

public static final String ER_CANT_CONVERT_TO_SINGLENODE
Field ER_CANT_CONVERT_TO_SINGLENODE

See Also:
Constant Field Values

ER_CANT_GET_SNAPSHOT_LENGTH

public static final String ER_CANT_GET_SNAPSHOT_LENGTH
Field ER_CANT_GET_SNAPSHOT_LENGTH

See Also:
Constant Field Values

ER_NON_ITERATOR_TYPE

public static final String ER_NON_ITERATOR_TYPE
Field ER_NON_ITERATOR_TYPE

See Also:
Constant Field Values

ER_DOC_MUTATED

public static final String ER_DOC_MUTATED
Field ER_DOC_MUTATED

See Also:
Constant Field Values

ER_INVALID_XPATH_TYPE

public static final String ER_INVALID_XPATH_TYPE
See Also:
Constant Field Values

ER_EMPTY_XPATH_RESULT

public static final String ER_EMPTY_XPATH_RESULT
See Also:
Constant Field Values

ER_INCOMPATIBLE_TYPES

public static final String ER_INCOMPATIBLE_TYPES
See Also:
Constant Field Values

ER_NULL_RESOLVER

public static final String ER_NULL_RESOLVER
See Also:
Constant Field Values

ER_CANT_CONVERT_TO_STRING

public static final String ER_CANT_CONVERT_TO_STRING
See Also:
Constant Field Values

ER_NON_SNAPSHOT_TYPE

public static final String ER_NON_SNAPSHOT_TYPE
See Also:
Constant Field Values

ER_WRONG_DOCUMENT

public static final String ER_WRONG_DOCUMENT
See Also:
Constant Field Values

ER_WRONG_NODETYPE

public static final String ER_WRONG_NODETYPE
Field ER_WRONG_NODETYPE

See Also:
Constant Field Values

ER_XPATH_ERROR

public static final String ER_XPATH_ERROR
See Also:
Constant Field Values

WG_LOCALE_NAME_NOT_HANDLED

public static final String WG_LOCALE_NAME_NOT_HANDLED
See Also:
Constant Field Values

WG_PROPERTY_NOT_SUPPORTED

public static final String WG_PROPERTY_NOT_SUPPORTED
See Also:
Constant Field Values

WG_DONT_DO_ANYTHING_WITH_NS

public static final String WG_DONT_DO_ANYTHING_WITH_NS
See Also:
Constant Field Values

WG_SECURITY_EXCEPTION

public static final String WG_SECURITY_EXCEPTION
See Also:
Constant Field Values

WG_QUO_NO_LONGER_DEFINED

public static final String WG_QUO_NO_LONGER_DEFINED
See Also:
Constant Field Values

WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST

public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST
See Also:
Constant Field Values

WG_FUNCTION_TOKEN_NOT_FOUND

public static final String WG_FUNCTION_TOKEN_NOT_FOUND
See Also:
Constant Field Values

WG_COULDNOT_FIND_FUNCTION

public static final String WG_COULDNOT_FIND_FUNCTION
See Also:
Constant Field Values

WG_CANNOT_MAKE_URL_FROM

public static final String WG_CANNOT_MAKE_URL_FROM
See Also:
Constant Field Values

WG_EXPAND_ENTITIES_NOT_SUPPORTED

public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED
See Also:
Constant Field Values

WG_ILLEGAL_VARIABLE_REFERENCE

public static final String WG_ILLEGAL_VARIABLE_REFERENCE
See Also:
Constant Field Values

WG_UNSUPPORTED_ENCODING

public static final String WG_UNSUPPORTED_ENCODING
See Also:
Constant Field Values

contents

public static final Object[][] contents

BAD_CODE

public static final String BAD_CODE
Field BAD_CODE

See Also:
Constant Field Values

FORMAT_FAILED

public static final String FORMAT_FAILED
Field FORMAT_FAILED

See Also:
Constant Field Values

ERROR_RESOURCES

public static final String ERROR_RESOURCES
Field ERROR_RESOURCES

See Also:
Constant Field Values

ERROR_STRING

public static final String ERROR_STRING
Field ERROR_STRING

See Also:
Constant Field Values

ERROR_HEADER

public static final String ERROR_HEADER
Field ERROR_HEADER

See Also:
Constant Field Values

WARNING_HEADER

public static final String WARNING_HEADER
Field WARNING_HEADER

See Also:
Constant Field Values

XSL_HEADER

public static final String XSL_HEADER
Field XSL_HEADER

See Also:
Constant Field Values

XML_HEADER

public static final String XML_HEADER
Field XML_HEADER

See Also:
Constant Field Values

QUERY_HEADER

public static final String QUERY_HEADER
Field QUERY_HEADER

See Also:
Constant Field Values
Constructor Detail

XPATHErrorResources

public XPATHErrorResources()
Method Detail

getContents

public Object[][] getContents()
Get the association list.

Specified by:
getContents in class ListResourceBundle
Returns:
The association list.

loadResourceBundle

public static final XPATHErrorResources loadResourceBundle(String className)
                                                    throws MissingResourceException
Return a named ResourceBundle for a particular locale. This method mimics the behavior of ResourceBundle.getBundle().

Parameters:
className - Name of local-specific subclass.
Returns:
the ResourceBundle
Throws:
MissingResourceException

getResourceSuffix

private static final String getResourceSuffix(Locale locale)
Return the resource file suffic for the indicated locale For most locales, this will be based the language code. However for Chinese, we do distinguish between Taiwan and PRC

Parameters:
locale - the locale
Returns:
an String suffix which canbe appended to a resource name