src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.properties

Thu, 12 Oct 2017 19:44:07 +0800

author
aoqi
date
Thu, 12 Oct 2017 19:44:07 +0800
changeset 760
e530533619ec
parent 0
373ffda63c9a
permissions
-rw-r--r--

merge

aoqi@0 1 #
aoqi@0 2 # Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
aoqi@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
aoqi@0 4 #
aoqi@0 5 # This code is free software; you can redistribute it and/or modify it
aoqi@0 6 # under the terms of the GNU General Public License version 2 only, as
aoqi@0 7 # published by the Free Software Foundation. Oracle designates this
aoqi@0 8 # particular file as subject to the "Classpath" exception as provided
aoqi@0 9 # by Oracle in the LICENSE file that accompanied this code.
aoqi@0 10 #
aoqi@0 11 # This code is distributed in the hope that it will be useful, but WITHOUT
aoqi@0 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
aoqi@0 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
aoqi@0 14 # version 2 for more details (a copy is included in the LICENSE file that
aoqi@0 15 # accompanied this code).
aoqi@0 16 #
aoqi@0 17 # You should have received a copy of the GNU General Public License version
aoqi@0 18 # 2 along with this work; if not, write to the Free Software Foundation,
aoqi@0 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
aoqi@0 20 #
aoqi@0 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
aoqi@0 22 # or visit www.oracle.com if you need additional information or have any
aoqi@0 23 # questions.
aoqi@0 24 #
aoqi@0 25
aoqi@0 26 ID_MUST_BE_STRING = \
aoqi@0 27 Property "{0}" has an XmlID annotation but its type is not String.
aoqi@0 28
aoqi@0 29 # {0} - field or field accessor (getter/setter) e.g.: foo.Bar#field has mutually exclusive annotations @javax.xml.bind.annotation.XmlAttribute and @javax.xml.bind.annotation.XmlElement OR foo.Bar#getField() has mutually exclusive annotations @javax.xml.bind.annotation.XmlAttribute and @javax.xml.bind.annotation.XmlElement
aoqi@0 30 MUTUALLY_EXCLUSIVE_ANNOTATIONS = \
aoqi@0 31 {0} has mutually exclusive annotations @{1} and @{2}
aoqi@0 32
aoqi@0 33 DUPLICATE_ANNOTATIONS = \
aoqi@0 34 @{0} annotation is found on two places; one would be suffice.
aoqi@0 35
aoqi@0 36 # {0} - class name. e.g.: java.lang.StackTraceElement does not have a no-arg default constructor.
aoqi@0 37 NO_DEFAULT_CONSTRUCTOR = \
aoqi@0 38 {0} does not have a no-arg default constructor.
aoqi@0 39
aoqi@0 40 CANT_HANDLE_INTERFACE = \
aoqi@0 41 {0} is an interface, and JAXB can''t handle interfaces.
aoqi@0 42
aoqi@0 43 CANT_HANDLE_INNER_CLASS = \
aoqi@0 44 {0} is a non-static inner class, and JAXB can''t handle those.
aoqi@0 45
aoqi@0 46 ANNOTATION_ON_WRONG_METHOD = \
aoqi@0 47 JAXB annotation is placed on a method that is not a JAXB property
aoqi@0 48
aoqi@0 49 GETTER_SETTER_INCOMPATIBLE_TYPE = \
aoqi@0 50 The type of the getter is {0} but that of the setter is {1}. They have to be the same.
aoqi@0 51
aoqi@0 52 DUPLICATE_ENTRY_IN_PROP_ORDER = \
aoqi@0 53 Property "{0}" appears more than once in the @XmlType.propOrder
aoqi@0 54
aoqi@0 55 DUPLICATE_PROPERTIES = \
aoqi@0 56 There are two properties named "{0}"
aoqi@0 57
aoqi@0 58 XML_ELEMENT_MAPPING_ON_NON_IXMLELEMENT_METHOD = \
aoqi@0 59 The {0} method has @XmlElementMapping on it, but it doesn''t return a sub-type of JAXBElement.
aoqi@0 60
aoqi@0 61 # {0} - (xsd) type name. e.g. ns:MyType is not bound to a complex type, and therefore illegal as the scope.
aoqi@0 62 SCOPE_IS_NOT_COMPLEXTYPE = \
aoqi@0 63 {0} is not bound to a complex type, and therefore illegal as the scope.
aoqi@0 64
aoqi@0 65 CONFLICTING_XML_ELEMENT_MAPPING = \
aoqi@0 66 The element name '{'{0}'}'{1} has more than one mapping.
aoqi@0 67
aoqi@0 68 REFERENCE_TO_NON_ELEMENT = \
aoqi@0 69 Property {0} is annotated with @XmlReference but doesn''t refer to an element.
aoqi@0 70
aoqi@0 71 NON_EXISTENT_ELEMENT_MAPPING = \
aoqi@0 72 No element mapping exists for "{0}":"{1}"
aoqi@0 73
aoqi@0 74 TWO_ATTRIBUTE_WILDCARDS = \
aoqi@0 75 {0} has two properties with the @XmlAnyAttribute annotation.
aoqi@0 76
aoqi@0 77 SUPER_CLASS_HAS_WILDCARD = \
aoqi@0 78 Can''t have @XmlAnyAttribute when a base class has it already.
aoqi@0 79
aoqi@0 80 INVALID_ATTRIBUTE_WILDCARD_TYPE = \
aoqi@0 81 @XmlAnyAttribute is placed on a property whose type is {0} but it needs to be assignable to java.util.Map.
aoqi@0 82
aoqi@0 83 PROPERTY_MISSING_FROM_ORDER = \
aoqi@0 84 Property {0} is present but not specified in @XmlType.propOrder
aoqi@0 85
aoqi@0 86 PROPERTY_ORDER_CONTAINS_UNUSED_ENTRY = \
aoqi@0 87 Property {0} appears in @XmlType.propOrder, but no such property exists. Maybe you meant {1}?
aoqi@0 88
aoqi@0 89 # {1} - (local) type name e.g.: '#foo' is not a valid value for 'NCName'
aoqi@0 90 INVALID_XML_ENUM_VALUE = \
aoqi@0 91 "{0}" is not a valid value for {1}.
aoqi@0 92
aoqi@0 93 FAILED_TO_INITIALE_DATATYPE_FACTORY = \
aoqi@0 94 Failed to initialize JAXP 1.3 DatatypeFactory class.
aoqi@0 95
aoqi@0 96 NO_IMAGE_WRITER = \
aoqi@0 97 No javax.imageio.ImageWriter is available for the specified MIME type "{0}"
aoqi@0 98
aoqi@0 99 ILLEGAL_MIME_TYPE = \
aoqi@0 100 "{0}" is not a valid MIME type: {1}
aoqi@0 101
aoqi@0 102 ILLEGAL_ANNOTATION = \
aoqi@0 103 {0} annotation cannot be placed here
aoqi@0 104
aoqi@0 105 MULTIPLE_VALUE_PROPERTY = \
aoqi@0 106 @XmlValue is only allowed one per class, but two properties are annotated with @XmlValue.
aoqi@0 107
aoqi@0 108 XMLVALUE_IN_DERIVED_TYPE = \
aoqi@0 109 @XmlValue is not allowed on a class that derives another class.
aoqi@0 110
aoqi@0 111 ELEMENT_AND_VALUE_PROPERTY = \
aoqi@0 112 If a class has @XmlElement property, it cannot have @XmlValue property.
aoqi@0 113
aoqi@0 114 CONFLICTING_XML_TYPE_MAPPING = \
aoqi@0 115 Two classes have the same XML type name "{0}". Use @XmlType.name and @XmlType.namespace to \
aoqi@0 116 assign different names to them.
aoqi@0 117
aoqi@0 118 SIMPLE_TYPE_IS_REQUIRED = \
aoqi@0 119 @XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML.
aoqi@0 120
aoqi@0 121 PROPERTY_COLLISION = \
aoqi@0 122 Class has two properties of the same name "{0}"
aoqi@0 123
aoqi@0 124 INVALID_IDREF = \
aoqi@0 125 XmlIDREF property is referencing a type "{0}" that doesn''t have an XmlID property.
aoqi@0 126
aoqi@0 127 INVALID_XML_ELEMENT_REF = \
aoqi@0 128 Invalid @XmlElementRef : Type "{0}" or any of it's subclasses are not known to this context.
aoqi@0 129
aoqi@0 130 NO_XML_ELEMENT_DECL = \
aoqi@0 131 There''s no ObjectFactory with an @XmlElementDecl for the element '{'{0}'}'{1}.
aoqi@0 132
aoqi@0 133 XML_ELEMENT_WRAPPER_ON_NON_COLLECTION = \
aoqi@0 134 @XmlElementWrapper is only allowed on a collection property but "{0}" is not a collection property.
aoqi@0 135
aoqi@0 136 ANNOTATION_NOT_ALLOWED = \
aoqi@0 137 {0} annotation is not allowed on this kind of property.
aoqi@0 138
aoqi@0 139 XMLLIST_NEEDS_SIMPLETYPE = \
aoqi@0 140 {0} maps to a structured XML fragment (AKA complex type), and therefore incompatible with @XmlList.
aoqi@0 141
aoqi@0 142 XMLLIST_ON_SINGLE_PROPERTY = \
aoqi@0 143 @XmlList cannot be placed on a single-value property
aoqi@0 144
aoqi@0 145 NO_FACTORY_METHOD = \
aoqi@0 146 Factory class "{0}" does not have static zero args factory method "{1}".
aoqi@0 147
aoqi@0 148 FACTORY_CLASS_NEEDS_FACTORY_METHOD = \
aoqi@0 149 XmlType has not defined a factory method for Factory class "{0}".
aoqi@0 150
aoqi@0 151 MISSING_JAXB_PROPERTIES = \
aoqi@0 152 Package "{0}" is missing jaxb.properties file. Have you copied this from the generated source directory or include it in the classpath?
aoqi@0 153
aoqi@0 154 TRANSIENT_FIELD_NOT_BINDABLE = \
aoqi@0 155 Transient field "{0}" cannot have any JAXB annotations.
aoqi@0 156
aoqi@0 157 THERE_MUST_BE_VALUE_IN_XMLVALUE = \
aoqi@0 158 Object must have some value in its @XmlValue field: {0}
aoqi@0 159
aoqi@0 160 INCOMPATIBLE_API_VERSION = \
aoqi@0 161 JAXB 2.1 API jar is being loaded (from {0}), but this RI (from {1}) requires JAXB 2.2 API jar.
aoqi@0 162
aoqi@0 163 # {0}, {1} - absolute class location e.g. JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/c:/foo/bar/jaxb-impl.jar!/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API.
aoqi@0 164 INCOMPATIBLE_API_VERSION_MUSTANG = \
aoqi@0 165 JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from {1}) needs 2.2 API. \
aoqi@0 166 Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. \
aoqi@0 167 (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
aoqi@0 168
aoqi@0 169 # {0}, {1} - absolute class location e.g. JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/c:/foo/bar/jaxb-impl.jar!/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API.
aoqi@0 170 RUNNING_WITH_1_0_RUNTIME = \
aoqi@0 171 You are trying to run JAXB 2.0 runtime (from {1}) but you have old JAXB 1.0 runtime earlier \
aoqi@0 172 in the classpath (at {0}) Please remove the JAXB 1.0 runtime for 2.0 runtime to work correctly.
aoqi@0 173
aoqi@0 174 UNMATCHABLE_ADAPTER = \
aoqi@0 175 Adapter {0} is not applicable to the field type {1}.
aoqi@0 176
aoqi@0 177 # {0} - com.sun.xml.internal.bind.XmlAccessorFactory, {1} - class name
aoqi@0 178 ACCESSORFACTORY_INSTANTIATION_EXCEPTION = \
aoqi@0 179 Unable to create instance of AccessorFactory, {0} for class {1}.
aoqi@0 180
aoqi@0 181 # {0} - com.sun.xml.internal.bind.XmlAccessorFactory, {1} - class name
aoqi@0 182 ACCESSORFACTORY_ACCESS_EXCEPTION = \
aoqi@0 183 Unable to access instance of AccessorFactory, {0} for class {1}.
aoqi@0 184
aoqi@0 185 CUSTOM_ACCESSORFACTORY_PROPERTY_ERROR = \
aoqi@0 186 Custom AccessorFactory, {0}, is reporting an error accessing a property. {1}
aoqi@0 187
aoqi@0 188 CUSTOM_ACCESSORFACTORY_FIELD_ERROR = \
aoqi@0 189 Custom AccessorFactory, {0}, is reporting an error accessing a field. {1}
aoqi@0 190
aoqi@0 191 ANONYMOUS_ARRAY_ITEM = \
aoqi@0 192 {0} is used as an array component type, so it cannot be anonymous.
aoqi@0 193
aoqi@0 194 XMLGREGORIANCALENDAR_INVALID = \
aoqi@0 195 Invalid set of fields set for XMLGregorianCalendar type {0}.
aoqi@0 196
aoqi@0 197 XMLGREGORIANCALENDAR_SEC = \
aoqi@0 198 Seconds not set.
aoqi@0 199
aoqi@0 200 XMLGREGORIANCALENDAR_MIN = \
aoqi@0 201 Minutes not set.
aoqi@0 202
aoqi@0 203 XMLGREGORIANCALENDAR_HR = \
aoqi@0 204 Hour not set.
aoqi@0 205
aoqi@0 206 XMLGREGORIANCALENDAR_DAY = \
aoqi@0 207 Day not set.
aoqi@0 208
aoqi@0 209 XMLGREGORIANCALENDAR_MONTH = \
aoqi@0 210 Month not set.
aoqi@0 211
aoqi@0 212 XMLGREGORIANCALENDAR_YEAR = \
aoqi@0 213 Year not set.
aoqi@0 214
aoqi@0 215 XMLGREGORIANCALENDAR_TIMEZONE = \
aoqi@0 216 Timezone not set.

mercurial