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