author | mkos |
Sun, 30 Dec 2012 00:00:00 +0100 | |
changeset 22678 | ac1ea46be942 |
parent 12009 | 4abb694f273a |
child 25429 | 1c4e76ec718a |
permissions | -rw-r--r-- |
12009 | 1 |
# |
22678
ac1ea46be942
8029237: Update copyright year to match last edit in jaxws repository for 2012
mkos
parents:
12009
diff
changeset
|
2 |
# Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
12009 | 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 |
FAILED_TO_INITIALE_DATATYPE_FACTORY = \ |
|
94 |
Failed to initialize JAXP 1.3 DatatypeFactory class. |
|
95 |
||
96 |
NO_IMAGE_WRITER = \ |
|
97 |
No javax.imageio.ImageWriter is available for the specified MIME type "{0}" |
|
98 |
||
99 |
ILLEGAL_MIME_TYPE = \ |
|
100 |
"{0}" is not a valid MIME type: {1} |
|
101 |
||
102 |
ILLEGAL_ANNOTATION = \ |
|
103 |
{0} annotation cannot be placed here |
|
104 |
||
105 |
MULTIPLE_VALUE_PROPERTY = \ |
|
106 |
@XmlValue is only allowed one per class, but two properties are annotated with @XmlValue. |
|
107 |
||
108 |
XMLVALUE_IN_DERIVED_TYPE = \ |
|
109 |
@XmlValue is not allowed on a class that derives another class. |
|
110 |
||
111 |
ELEMENT_AND_VALUE_PROPERTY = \ |
|
112 |
If a class has @XmlElement property, it cannot have @XmlValue property. |
|
113 |
||
114 |
CONFLICTING_XML_TYPE_MAPPING = \ |
|
115 |
Two classes have the same XML type name "{0}". Use @XmlType.name and @XmlType.namespace to \ |
|
116 |
assign different names to them. |
|
117 |
||
118 |
SIMPLE_TYPE_IS_REQUIRED = \ |
|
119 |
@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML. |
|
120 |
||
121 |
PROPERTY_COLLISION = \ |
|
122 |
Class has two properties of the same name "{0}" |
|
123 |
||
124 |
INVALID_IDREF = \ |
|
125 |
XmlIDREF property is referencing a type "{0}" that doesn''t have an XmlID property. |
|
126 |
||
127 |
INVALID_XML_ELEMENT_REF = \ |
|
128 |
Invalid @XmlElementRef : Type "{0}" or any of it's subclasses are not known to this context. |
|
129 |
||
130 |
NO_XML_ELEMENT_DECL = \ |
|
131 |
There''s no ObjectFactory with an @XmlElementDecl for the element '{'{0}'}'{1}. |
|
132 |
||
133 |
XML_ELEMENT_WRAPPER_ON_NON_COLLECTION = \ |
|
134 |
@XmlElementWrapper is only allowed on a collection property but "{0}" is not a collection property. |
|
135 |
||
136 |
ANNOTATION_NOT_ALLOWED = \ |
|
137 |
{0} annotation is not allowed on this kind of property. |
|
138 |
||
139 |
XMLLIST_NEEDS_SIMPLETYPE = \ |
|
140 |
{0} maps to a structured XML fragment (AKA complex type), and therefore incompatible with @XmlList. |
|
141 |
||
142 |
XMLLIST_ON_SINGLE_PROPERTY = \ |
|
143 |
@XmlList cannot be placed on a single-value property |
|
144 |
||
145 |
NO_FACTORY_METHOD = \ |
|
146 |
Factory class "{0}" does not have static zero args factory method "{1}". |
|
147 |
||
148 |
FACTORY_CLASS_NEEDS_FACTORY_METHOD = \ |
|
149 |
XmlType has not defined a factory method for Factory class "{0}". |
|
150 |
||
151 |
MISSING_JAXB_PROPERTIES = \ |
|
152 |
Package "{0}" is missing jaxb.properties file. Have you copied this from the generated source directory or include it in the classpath? |
|
153 |
||
154 |
TRANSIENT_FIELD_NOT_BINDABLE = \ |
|
155 |
Transient field "{0}" cannot have any JAXB annotations. |
|
156 |
||
157 |
THERE_MUST_BE_VALUE_IN_XMLVALUE = \ |
|
158 |
Object must have some value in its @XmlValue field: {0} |
|
159 |
||
160 |
INCOMPATIBLE_API_VERSION = \ |
|
161 |
JAXB 2.1 API jar is being loaded (from {0}), but this RI (from {1}) requires JAXB 2.2 API jar. |
|
162 |
||
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. |
|
164 |
INCOMPATIBLE_API_VERSION_MUSTANG = \ |
|
165 |
JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from {1}) needs 2.2 API. \ |
|
166 |
Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. \ |
|
167 |
(See http://java.sun.com/j2se/1.6.0/docs/guide/standards/) |
|
168 |
||
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. |
|
170 |
RUNNING_WITH_1_0_RUNTIME = \ |
|
171 |
You are trying to run JAXB 2.0 runtime (from {1}) but you have old JAXB 1.0 runtime earlier \ |
|
172 |
in the classpath (at {0}) Please remove the JAXB 1.0 runtime for 2.0 runtime to work correctly. |
|
173 |
||
174 |
UNMATCHABLE_ADAPTER = \ |
|
175 |
Adapter {0} is not applicable to the field type {1}. |
|
176 |
||
177 |
# {0} - com.sun.xml.internal.bind.XmlAccessorFactory, {1} - class name |
|
178 |
ACCESSORFACTORY_INSTANTIATION_EXCEPTION = \ |
|
179 |
Unable to create instance of AccessorFactory, {0} for class {1}. |
|
180 |
||
181 |
# {0} - com.sun.xml.internal.bind.XmlAccessorFactory, {1} - class name |
|
182 |
ACCESSORFACTORY_ACCESS_EXCEPTION = \ |
|
183 |
Unable to access instance of AccessorFactory, {0} for class {1}. |
|
184 |
||
185 |
CUSTOM_ACCESSORFACTORY_PROPERTY_ERROR = \ |
|
186 |
Custom AccessorFactory, {0}, is reporting an error accessing a property. {1} |
|
187 |
||
188 |
CUSTOM_ACCESSORFACTORY_FIELD_ERROR = \ |
|
189 |
Custom AccessorFactory, {0}, is reporting an error accessing a field. {1} |
|
190 |
||
191 |
ANONYMOUS_ARRAY_ITEM = \ |
|
192 |
{0} is used as an array component type, so it cannot be anonymous. |
|
193 |
||
194 |
XMLGREGORIANCALENDAR_INVALID = \ |
|
195 |
Invalid set of fields set for XMLGregorianCalendar type {0}. |
|
196 |
||
197 |
XMLGREGORIANCALENDAR_SEC = \ |
|
198 |
Seconds not set. |
|
199 |
||
200 |
XMLGREGORIANCALENDAR_MIN = \ |
|
201 |
Minutes not set. |
|
202 |
||
203 |
XMLGREGORIANCALENDAR_HR = \ |
|
204 |
Hour not set. |
|
205 |
||
206 |
XMLGREGORIANCALENDAR_DAY = \ |
|
207 |
Day not set. |
|
208 |
||
209 |
XMLGREGORIANCALENDAR_MONTH = \ |
|
210 |
Month not set. |
|
211 |
||
212 |
XMLGREGORIANCALENDAR_YEAR = \ |
|
213 |
Year not set. |
|
214 |
||
215 |
XMLGREGORIANCALENDAR_TIMEZONE = \ |
|
216 |
Timezone not set. |