|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.ResourceBundle java.util.ListResourceBundle org.apache.xpath.res.XPATHErrorResources
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 |
|
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 |
public static final int MAX_CODE
public static final int MAX_WARNING
public static final int MAX_OTHERS
public static final int MAX_MESSAGES
public static final String ERROR0000
public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH
public static final String ER_CURRENT_TAKES_NO_ARGS
public static final String ER_DOCUMENT_REPLACED
public static final String ER_CONTEXT_HAS_NO_OWNERDOC
public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS
public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS
public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS
public static final String ER_NUMBER_HAS_TOO_MANY_ARGS
public static final String ER_NAME_HAS_TOO_MANY_ARGS
public static final String ER_STRING_HAS_TOO_MANY_ARGS
public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS
public static final String ER_TRANSLATE_TAKES_3_ARGS
public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG
public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED
public static final String ER_UNKNOWN_AXIS
public static final String ER_UNKNOWN_MATCH_OPERATION
public static final String ER_INCORRECT_ARG_LENGTH
public static final String ER_CANT_CONVERT_TO_NUMBER
public static final String ER_CANT_CONVERT_TO_NODELIST
public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST
public static final String ER_CANT_CONVERT_TO_TYPE
public static final String ER_EXPECTED_MATCH_PATTERN
public static final String ER_COULDNOT_GET_VAR_NAMED
public static final String ER_UNKNOWN_OPCODE
public static final String ER_EXTRA_ILLEGAL_TOKENS
public static final String ER_EXPECTED_DOUBLE_QUOTE
public static final String ER_EXPECTED_SINGLE_QUOTE
public static final String ER_EMPTY_EXPRESSION
public static final String ER_EXPECTED_BUT_FOUND
public static final String ER_INCORRECT_PROGRAMMER_ASSERTION
public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL
public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG
public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG
public static final String ER_PREDICATE_ILLEGAL_SYNTAX
public static final String ER_ILLEGAL_AXIS_NAME
public static final String ER_UNKNOWN_NODETYPE
public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED
public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER
public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON
public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP
public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH
public static final String ER_ERROR_OCCURED
public static final String ER_ILLEGAL_VARIABLE_REFERENCE
public static final String ER_AXES_NOT_ALLOWED
public static final String ER_KEY_HAS_TOO_MANY_ARGS
public static final String ER_COUNT_TAKES_1_ARG
public static final String ER_COULDNOT_FIND_FUNCTION
public static final String ER_UNSUPPORTED_ENCODING
public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING
public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL
public static final String ER_SETDOMFACTORY_NOT_SUPPORTED
public static final String ER_PREFIX_MUST_RESOLVE
public static final String ER_PARSE_NOT_SUPPORTED
public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED
public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT
public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT
public static final String ER_SAX_API_NOT_HANDLED
public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED
public static final String ER_DTM_CANNOT_HANDLE_NODES
public static final String ER_XERCES_CANNOT_HANDLE_NODES
public static final String ER_XERCES_PARSE_ERROR_DETAILS
public static final String ER_XERCES_PARSE_ERROR
public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC
public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT
public static final String ER_INVALID_UTF16_SURROGATE
public static final String ER_OIERROR
public static final String ER_CANNOT_CREATE_URL
public static final String ER_XPATH_READOBJECT
public static final String ER_FUNCTION_TOKEN_NOT_FOUND
public static final String ER_ARG_LOCALNAME_NULL
public static final String ER_CANNOT_DEAL_XPATH_TYPE
public static final String ER_NODESET_NOT_MUTABLE
public static final String ER_NODESETDTM_NOT_MUTABLE
public static final String ER_VAR_NOT_RESOLVABLE
public static final String ER_NULL_ERROR_HANDLER
public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE
public static final String ER_ZERO_OR_ONE
public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER
public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER
public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS
public static final String ER_COULD_NOT_FIND_VAR
public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING
public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL
public static final String ER_TWO_OR_THREE
public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND
public static final String ER_FSB_CANNOT_TAKE_STRING
public static final String ER_SETTING_WALKER_ROOT_TO_NULL
public static final String ER_NODESETDTM_CANNOT_ITERATE
public static final String ER_NODESET_CANNOT_ITERATE
public static final String ER_NODESETDTM_CANNOT_INDEX
public static final String ER_NODESET_CANNOT_INDEX
public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE
public static final String ER_ONLY_ALLOWS
public static final String ER_UNKNOWN_STEP
public static final String ER_EXPECTED_REL_LOC_PATH
public static final String ER_EXPECTED_LOC_PATH
public static final String ER_EXPECTED_LOC_STEP
public static final String ER_EXPECTED_NODE_TEST
public static final String ER_EXPECTED_STEP_PATTERN
public static final String ER_EXPECTED_REL_PATH_PATTERN
public static final String ER_ARG_LOCALNAME_INVALID
public static final String ER_ARG_PREFIX_INVALID
public static final String ER_CANT_CONVERT_TO_BOOLEAN
public static final String ER_CANT_CONVERT_TO_SINGLENODE
public static final String ER_CANT_GET_SNAPSHOT_LENGTH
public static final String ER_NON_ITERATOR_TYPE
public static final String ER_DOC_MUTATED
public static final String ER_INVALID_XPATH_TYPE
public static final String ER_EMPTY_XPATH_RESULT
public static final String ER_INCOMPATIBLE_TYPES
public static final String ER_NULL_RESOLVER
public static final String ER_CANT_CONVERT_TO_STRING
public static final String ER_NON_SNAPSHOT_TYPE
public static final String ER_WRONG_DOCUMENT
public static final String ER_WRONG_NODETYPE
public static final String ER_XPATH_ERROR
public static final String WG_LOCALE_NAME_NOT_HANDLED
public static final String WG_PROPERTY_NOT_SUPPORTED
public static final String WG_DONT_DO_ANYTHING_WITH_NS
public static final String WG_SECURITY_EXCEPTION
public static final String WG_QUO_NO_LONGER_DEFINED
public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST
public static final String WG_FUNCTION_TOKEN_NOT_FOUND
public static final String WG_COULDNOT_FIND_FUNCTION
public static final String WG_CANNOT_MAKE_URL_FROM
public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED
public static final String WG_ILLEGAL_VARIABLE_REFERENCE
public static final String WG_UNSUPPORTED_ENCODING
public static final Object[][] contents
public static final String BAD_CODE
public static final String FORMAT_FAILED
public static final String ERROR_RESOURCES
public static final String ERROR_STRING
public static final String ERROR_HEADER
public static final String WARNING_HEADER
public static final String XSL_HEADER
public static final String XML_HEADER
public static final String QUERY_HEADER
Constructor Detail |
public XPATHErrorResources()
Method Detail |
public Object[][] getContents()
getContents
in class ListResourceBundle
public static final XPATHErrorResources loadResourceBundle(String className) throws MissingResourceException
className
- Name of local-specific subclass.
MissingResourceException
private static final String getResourceSuffix(Locale locale)
locale
- the locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |