org.apache.xml.res

Class XMLErrorResources_sv


public class XMLErrorResources_sv
extends XMLErrorResources

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 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 Object[][]
contents
The lookup table for error messages.

Fields inherited from class org.apache.xml.res.XMLErrorResources

ER_ARG_LOCALNAME_INVALID, ER_ARG_LOCALNAME_NULL, ER_ARG_PREFIX_INVALID, ER_AXIS_NOT_SUPPORTED, ER_AXIS_TRAVERSER_NOT_SUPPORTED, ER_BUFFER_SIZE_LESSTHAN_ZERO, ER_CANNOT_CHANGE_WHILE_PARSING, ER_CANNOT_INIT_URI_EMPTY_PARMS, ER_CANNOT_OVERWRITE_CAUSE, ER_CANT_HAVE_MORE_THAN_ONE_ROOT, ER_CANT_OUTPUT_TEXT_BEFORE_DOC, ER_CHILD_HAS_NO_OWNER_DOCUMENT, ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, ER_CHUNKEDINTARRAY_NOT_SUPPORTED, ER_COJOINROUTINESET_FAILED, ER_COROUTINE_CO_EXIT, ER_COROUTINE_NOT_AVAIL, ER_COROUTINE_PARAM, ER_COULD_NOT_INIT_PARSER, ER_COULD_NOT_LOAD_METHOD_PROPERTY, ER_COULD_NOT_LOAD_RESOURCE, ER_COULD_NOT_RESOLVE_NODE, ER_CREATEDOCUMENT_NOT_SUPPORTED, ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, ER_EXCEPTION_CREATING_POOL, 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_ATTRIBUTE_POSITION, ER_ILLEGAL_CHARACTER, ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, ER_INVALID_PORT, ER_INVALID_UTF16_SURROGATE, ER_ITERATOR_AXIS_NOT_IMPLEMENTED, ER_ITERATOR_CLONE_NOT_SUPPORTED, ER_LOCATION_UNKNOWN, ER_METHOD_NOT_SUPPORTED, ER_NAMESPACE_PREFIX, ER_NAME_CANT_START_WITH_COLON, ER_NODE_NON_NULL, ER_NOT_SUPPORTED, ER_NO_DEFAULT_IMPL, ER_NO_DTMIDS_AVAIL, ER_NO_FRAGMENT_STRING_IN_PATH, ER_NO_PARSE_CALL_WHILE_PARSING, ER_NO_PORT_IF_NO_HOST, ER_NO_QUERY_STRING_IN_PATH, ER_NO_SCHEME_INURI, ER_NO_SCHEME_IN_URI, ER_NO_USERINFO_IF_NO_HOST, ER_OFFSET_BIGGER_THAN_SLOT, ER_OIERROR, ER_PARSER_DOTERMINATE_ANSWERS, ER_PARSER_IN_USE, ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, ER_PATH_INVALID_CHAR, ER_PORT_WHEN_HOST_NULL, ER_PREFIX_MUST_RESOLVE, ER_RESOURCE_COULD_NOT_FIND, ER_RESOURCE_COULD_NOT_LOAD, ER_SCHEME_FROM_NULL_STRING, ER_SCHEME_NOT_CONFORMANT, ER_SCHEME_REQUIRED, ER_SELF_CAUSATION_NOT_PERMITTED, ER_SERIALIZER_NOT_CONTENTHANDLER, ER_STARTPARSE_NEEDS_SAXPARSER, ER_STARTPARSE_WHILE_PARSING, ER_STRAY_ATTRIBUTE, ER_STRAY_NAMESPACE, ER_SYSTEMID_UNKNOWN, ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, ER_UNKNOWN_AXIS_TYPE, ER_XMLRDR_NOT_BEFORE_STARTPARSE, MAX_CODE, MAX_MESSAGES, MAX_OTHERS, MAX_WARNING, contents

Method Summary

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

Methods inherited from class org.apache.xml.res.XMLErrorResources

getContents, loadResourceBundle

Field Details

MAX_CODE

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

Field Value:
61


MAX_MESSAGES

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

Field Value:
62


MAX_OTHERS

public static final int MAX_OTHERS
Maximum misc strings.

Field Value:
4


MAX_WARNING

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

Field Value:
0


contents

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

Method Details

getContents

public Object[][] getContents()
Get the association list.
Overrides:
getContents in interface XMLErrorResources

Returns:
The association list.


Copyright B) 2004 Apache XML Project. All Rights Reserved.