alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (Messages.properties)

This example Java source code file (Messages.properties) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

copyright, for, general, id\-type, license, oracle, software, the, this

The Messages.properties Java example source code

#
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

#
# Copyright (C) 2004-2011
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
# Properties file specifying messages
illegal_href_attribute=illegal \"href\" attribute
ns_attribute_ignored=\"ns\" attribute ignored
reference_to_undefined=reference to undefined pattern \"{0}\"
missing_start_element=missing \"start\" element
recursive_reference=bad recursive reference to pattern \"{0}\"
recursive_include=recursive inclusion of URL \"{0}\"
duplicate_define=multiple definitions of \"{0}\" without \"combine\" attribute
duplicate_start=multiple definitions of start without \"combine\" attribute
conflict_combine_define=conflicting values of \"combine\" attribute for definition of \"{0}\"
conflict_combine_start=conflicting values of \"combine\" attribute for definition of start
missing_start_replacement=\"start\" in \"include\" does not override anything
missing_define_replacement=definition of \"{0}\" in \"include\" does not override anything
interleave_string=interleave of \"string\" or \"data\" element
group_string=group of \"string\" or \"data\" element
one_or_more_string=repeat of \"string\" or \"data\" element
unrecognized_datatype=datatype \"{1}\" from library \"{0}\" not recognized
unsupported_datatype_detail=datatype \"{1}\" from library \"{0}\" not supported: {2}
unrecognized_datatype_library=datatype library \"{0}\" not recognized
unrecognized_builtin_datatype=no such builtin datatype \"{0}\": must be \"string\" or \"token\"
invalid_value=\"{0}\" is not a valid value of the datatype
parent_ref_outside_grammar=reference to non-existent parent grammar
ref_outside_grammar=reference to non-existent grammar
expected_one_name_class=found \"{0}\" element but expected no further content
builtin_param=builtin datatypes do not have any parameters
invalid_param_display=invalid parameter:\n{0}
invalid_param_detail_display=invalid parameter: {0}:\n{1}
display_param={0}>>>>{1}
invalid_param_detail=invalid parameter: {0}
invalid_param=invalid parameter
invalid_params_detail=invalid parameters: {0}
invalid_params=invalid parameters
datatype_requires_parameter=datatype cannot be used without parameters
datatype_requires_parameter_detail=datatype cannot be used without parameters: {0}

attribute_contains_attribute=\"attribute\" contains \"attribute\"
attribute_contains_element=\"attribute\" contains \"element\"
data_except_contains_attribute=\"except\" in \"data\" contains \"attribute\"
data_except_contains_element=\"except\" in \"data\" contains \"element\"
data_except_contains_empty=\"except\" in \"data\" contains \"empty\"
data_except_contains_group=\"except\" in \"data\" contains \"group\"
data_except_contains_interleave=\"except\" in \"data\" contains \"interleave\"
data_except_contains_list=\"except\" in \"data\" contains \"list\"
data_except_contains_one_or_more=\"except\" in \"data\" contains \"oneOrMore\"
data_except_contains_text=\"except\" in \"data\" contains \"text\"
list_contains_attribute=\"list\" contains \"attribute\"
list_contains_element=\"list\" contains \"element\"
list_contains_list=\"list\" contains \"list\"
list_contains_text=\"list\" contains \"text\"
one_or_more_contains_group_contains_attribute=\"oneOrMore\" contains \"group\" contains \"attribute\"
one_or_more_contains_interleave_contains_attribute=\"oneOrMore\" contains \"interleave\" contains \"attribute\"
start_contains_attribute=\"start\" contains \"attribute\"
start_contains_data=\"start\" contains \"data\"
start_contains_empty=\"start\" contains \"empty\"
start_contains_group=\"start\" contains \"group\"
start_contains_interleave=\"start\" contains \"interleave\"
start_contains_list=\"start\" contains \"list\"
start_contains_one_or_more=\"start\" contains \"oneOrMore\"
start_contains_text=\"start\" contains \"text\"
start_contains_value=\"start\" contains \"value\"
duplicate_attribute=duplicate attribute
duplicate_attribute_detail=duplicate attribute {0}
interleave_element_overlap=overlapping element names in operands of \"interleave\"
list_contains_interleave=\"list\" contains \"interleave\"
interleave_text_overlap=both operands of \"interleave\" contain \"text\"
open_name_class_not_repeated=attribute using \"nsName\" or \"anyName\" must be in \"oneOrMore\"
xmlns_uri_attribute=attribute must not have namespace URI \"http://www.w3.org/2000/xmlns\"
xmlns_attribute=attribute must not be named \"xmlns\"

# Validation errors
unknown_element=unknown element {0}
required_elements_missing=required elements missing
out_of_context_element=element {0} not allowed in this context
impossible_attribute_ignored=attribute {0} not allowed at this point; ignored
bad_attribute_value=bad value for attribute {0}
required_attributes_missing=required attributes missing
unfinished_element=unfinished element
text_not_allowed=text not allowed here
document_incomplete=document incompletely matched
string_not_allowed=bad character content for element
only_text_not_allowed=element cannot have content that consists only of text
schema_allows_nothing=schema does not allow anything: it is equivalent to <notAllowed/>

# ID correctness errors
id_element_name_class=an \"element\" pattern containing an \"attribute\" pattern with a non-null ID-type must have a name class that contains only \"choice\" and \"name\" elements
id_attribute_name_class=an \"attribute\" pattern with a non-null ID-type must have a name class that is a single name
id_parent=a \"data\" or \"value\" pattern with non-null ID-type must occur as the child of an \"attribute\" pattern
id_type_conflict=conflicting ID-types for attribute {1} of element {0}

# ID soundness errors
id_no_tokens=value of attribute of type ID contained no tokens
id_multiple_tokens=value of attribute of type ID contained multiple tokens
idref_no_tokens=value of attribute of type IDREF contained no tokens
idref_multiple_tokens=value of attribute of type IDREF contained multiple tokens
idrefs_no_tokens=value of attribute of type IDREFS contained no tokens
missing_id=IDREF \"{0}\" without matching ID
duplicate_id=ID \"{0}\" has already been defined
first_id=first occurrence of ID \"{0}\"

# Fragments
name_absent_namespace=\"{0}\"
name_with_namespace=\"{1}\" from namespace \"{0}\"

Other Java examples (source code examples)

Here is a short list of links related to this Java Messages.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.