12009
|
1 |
#
|
|
2 |
# Copyright (c) 1997, 2011, 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 |
# Concatenated with Driver.ErrorMessage, Driver.WarningMessage, Driver.InfoMessage (Driver.InfoMessage + exception message + ConsoleErrorReporter.UnknownLocation) if location of the error is not known.
|
|
27 |
ConsoleErrorReporter.UnknownLocation = \
|
|
28 |
unknown location
|
|
29 |
|
|
30 |
# Concatenated with Driver.ErrorMessage, Driver.WarningMessage, Driver.InfoMessage (Driver.InfoMessage + exception message + ConsoleErrorReporter.LineXOfY). {0} - "?"/number, {1} - file location/"unknown file" e.g.: [xjc] [ERROR] Attempt to create a property having the same name as the reserved word "Class". [xjc] line 6 of example.xsd
|
|
31 |
ConsoleErrorReporter.LineXOfY = \
|
|
32 |
\ \ line {0} of {1}
|
|
33 |
|
|
34 |
# may be a placeholder replacement for the second placeholder of ConsoleErrorReporter.LineXOfY (if the file location is unknown)
|
|
35 |
ConsoleErrorReporter.UnknownFile = \
|
|
36 |
unknown file
|
|
37 |
|
|
38 |
Driver.Private.Usage = \
|
|
39 |
Additional private testing options:\n\
|
|
40 |
\ \ -debug : run in debug mode (includes -verbose)\n\
|
|
41 |
\ \ -mode <mode> : run XJC in other running mode\n\
|
|
42 |
\ \ -private : display this help message\n\
|
|
43 |
Mode:\n\
|
|
44 |
\ \ code : generate Java source code (default)\n\
|
|
45 |
\ \ dryrun : compile the schema in memory, but don't generate the Java source\n\
|
|
46 |
\ \ zip : generate Java source code into a zip file specified by the -d option\n\
|
|
47 |
\ \ sig : dump the signatures of the generated code\n\
|
|
48 |
\ \ forest : dump transformed DOM forest\n\
|
|
49 |
|
|
50 |
Driver.Public.Usage = \
|
|
51 |
Usage: xjc [-options ...] <schema file/URL/dir/jar> ... [-b <bindinfo>] ...\n\
|
|
52 |
If dir is specified, all schema files in it will be compiled.\n\
|
|
53 |
If jar is specified, /META-INF/sun-jaxb.episode binding file will be compiled.\n\
|
|
54 |
Options:\n\
|
|
55 |
\ \ -nv : do not perform strict validation of the input schema(s)\n\
|
|
56 |
\ \ -extension : allow vendor extensions - do not strictly follow the\n\
|
|
57 |
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Compatibility Rules and App E.2 from the JAXB Spec\n\
|
|
58 |
\ \ -b <file/dir> : specify external bindings files (each <file> must have its own -b)\n\
|
|
59 |
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ If a directory is given, **/*.xjb is searched\n\
|
|
60 |
\ \ -d <dir> : generated files will go into this directory\n\
|
|
61 |
\ \ -p <pkg> : specifies the target package\n\
|
|
62 |
\ \ -httpproxy <proxy> : set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost:proxyPort\n\
|
|
63 |
\ \ -httpproxyfile <f> : Works like -httpproxy but takes the argument in a file to protect password \n\
|
|
64 |
\ \ -classpath <arg> : specify where to find user class files\n\
|
|
65 |
\ \ -catalog <file> : specify catalog files to resolve external entity references\n\
|
|
66 |
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ support TR9401, XCatalog, and OASIS XML Catalog format.\n\
|
|
67 |
\ \ -readOnly : generated files will be in read-only mode\n\
|
|
68 |
\ \ -npa : suppress generation of package level annotations (**/package-info.java)\n\
|
|
69 |
\ \ -no-header : suppress generation of a file header with timestamp\n\
|
|
70 |
\ \ -target (2.0|2.1) : behave like XJC 2.0 or 2.1 and generate code that doesn't use any 2.2 features.\n\
|
|
71 |
\ \ -encoding <encoding> : specify character encoding for generated source files\n\
|
|
72 |
\ \ -enableIntrospection : enable correct generation of Boolean getters/setters to enable Bean Introspection apis \n\
|
|
73 |
\ \ -contentForWildcard : generates content property for types with multiple xs:any derived elements \n\
|
|
74 |
\ \ -xmlschema : treat input as W3C XML Schema (default)\n\
|
|
75 |
\ \ -relaxng : treat input as RELAX NG (experimental,unsupported)\n\
|
|
76 |
\ \ -relaxng-compact : treat input as RELAX NG compact syntax (experimental,unsupported)\n\
|
|
77 |
\ \ -dtd : treat input as XML DTD (experimental,unsupported)\n\
|
|
78 |
\ \ -wsdl : treat input as WSDL and compile schemas inside it (experimental,unsupported)\n\
|
|
79 |
\ \ -verbose : be extra verbose\n\
|
|
80 |
\ \ -quiet : suppress compiler output\n\
|
|
81 |
\ \ -help : display this help message\n\
|
|
82 |
\ \ -version : display version information\n\
|
|
83 |
\ \ -fullversion : display full version information\n\
|
|
84 |
|
|
85 |
Driver.AddonUsage = \nExtensions:
|
|
86 |
|
|
87 |
# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl
|
|
88 |
Driver.ExperimentalLanguageWarning = \
|
|
89 |
Are you trying to compile {0}? Support for {0} is experimental. \
|
|
90 |
You may enable it by using the {1} option.
|
|
91 |
|
|
92 |
# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility).
|
|
93 |
Driver.NonExistentDir = \
|
|
94 |
cowardly refuses to write to a non-existent directory "{0}"
|
|
95 |
|
|
96 |
# Usage not found. TODO Remove
|
|
97 |
#Driver.MissingRuntimePackageName = \
|
|
98 |
# the -use-runtime option is missing a package name
|
|
99 |
|
|
100 |
# Not concatenated with any other string (written on a separate line).
|
|
101 |
Driver.MissingModeOperand = \
|
|
102 |
the -mode option is missing an operand
|
|
103 |
|
|
104 |
# Usage not found. TODO Remove
|
|
105 |
#Driver.MissingCompatibilityOperand = \
|
|
106 |
# the -compatibility option is missing an operand
|
|
107 |
|
|
108 |
# Not concatenated with any other string (written on a separate line).
|
|
109 |
Driver.MissingOperand = \
|
|
110 |
an operand is missing
|
|
111 |
|
|
112 |
# Not concatenated with any other string (written on a separate line).
|
|
113 |
Driver.MissingProxyHost = \
|
|
114 |
either the -host option is missing an operand \n\
|
|
115 |
or -port was specified but not -host
|
|
116 |
|
|
117 |
# Not concatenated with any other string (written on a separate line).
|
|
118 |
Driver.MissingProxyPort = \
|
|
119 |
either the -port option is missing an operand \n\
|
|
120 |
or -host was specified but not -port
|
|
121 |
|
|
122 |
Driver.ILLEGAL_TARGET_VERSION = \
|
|
123 |
"{0}" is not a valid target version. "2.0" and "2.1" are supported.
|
|
124 |
|
|
125 |
# Not concatenated with any other string (written on a separate line).
|
|
126 |
Driver.MISSING_PROXYFILE = \
|
|
127 |
the -httpproxyfile option is missing an operand
|
|
128 |
|
|
129 |
Driver.NO_SUCH_FILE = \
|
|
130 |
No such file: {0}
|
|
131 |
|
|
132 |
Driver.ILLEGAL_PROXY = \
|
|
133 |
"{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
|
|
134 |
|
|
135 |
# Not concatenated with any other string (written on a separate line).
|
|
136 |
Driver.UnrecognizedMode = \
|
|
137 |
unrecognized mode {0}
|
|
138 |
|
|
139 |
# Not concatenated with any other string (written on a separate line).
|
|
140 |
Driver.UnrecognizedParameter = \
|
|
141 |
unrecognized parameter {0}
|
|
142 |
|
|
143 |
Driver.UnsupportedEncoding = \
|
|
144 |
unsupported encoding: {0}
|
|
145 |
|
|
146 |
Driver.MissingGrammar = \
|
|
147 |
grammar is not specified
|
|
148 |
|
|
149 |
# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang
|
|
150 |
Driver.NotABindingFile = \
|
|
151 |
not an external binding file. The root element must be '{'http://java.sun.com/xml/ns/jaxb'}'bindings but it is '{'{0}'}'{1}
|
|
152 |
|
|
153 |
# Not concatenated with any other string (written on a separate line).
|
|
154 |
Driver.ParsingSchema = \
|
|
155 |
parsing a schema...
|
|
156 |
|
|
157 |
Driver.ParseFailed = \
|
|
158 |
Failed to parse a schema.
|
|
159 |
|
|
160 |
Driver.StackOverflow = \
|
|
161 |
Stack overflow. Either you are compiling a large schema that requires more resources, or \
|
|
162 |
XJC has a bug. First, please extend the stack size by using the -Xss JVM option. If this \
|
|
163 |
doesn'''t solve the problem, please use the -debug option to obtain the stack trace and \
|
|
164 |
contact Sun.
|
|
165 |
|
|
166 |
# Not concatenated with any other string (written on a separate line).
|
|
167 |
Driver.CompilingSchema = \
|
|
168 |
compiling a schema...
|
|
169 |
|
|
170 |
Driver.FailedToGenerateCode = \
|
|
171 |
Failed to produce code.
|
|
172 |
|
|
173 |
# DO NOT localize the 2.2.5-b10 string - it is a token for an ant <replaceFilter>
|
|
174 |
Driver.FilePrologComment = \
|
|
175 |
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 \n\
|
|
176 |
See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \n\
|
|
177 |
Any modifications to this file will be lost upon recompilation of the source schema. \n\
|
|
178 |
Generated on: {0} \n
|
|
179 |
|
|
180 |
Driver.Version = \
|
|
181 |
xjc 2.2.5-b10
|
|
182 |
|
|
183 |
Driver.FullVersion = \
|
|
184 |
xjc full version "2.2.5-b10-b14"
|
|
185 |
|
|
186 |
Driver.BuildID = 2.2.5-b10
|
|
187 |
|
|
188 |
# for JDK integration - include version in source zip
|
|
189 |
jaxb.jdk.version=2.2.5-b10
|
|
190 |
|
|
191 |
# see java.text.SimpleDateFormat for format syntax
|
|
192 |
# Format should not be changed, English locale is used to transform this string into a real date. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html).
|
|
193 |
Driver.DateFormat = \
|
|
194 |
yyyy.MM.dd
|
|
195 |
|
|
196 |
# see java.text.SimpleDateFormat for format syntax
|
|
197 |
# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html).
|
|
198 |
Driver.TimeFormat = \
|
|
199 |
hh:mm:ss a z
|
|
200 |
|
|
201 |
# as in: "generated on <date> at <time>"
|
|
202 |
Driver.At = \
|
|
203 |
at
|
|
204 |
|
|
205 |
# ERROR in this meaning is a well known level of logging and should not be translated.
|
|
206 |
Driver.ErrorMessage = \
|
|
207 |
[ERROR] {0}
|
|
208 |
|
|
209 |
# WARNING in this meaning is a well known level of logging and should not be translated.
|
|
210 |
Driver.WarningMessage = \
|
|
211 |
[WARNING] {0}
|
|
212 |
|
|
213 |
# INFO in this meaning is a well known level of logging and should not be translated.
|
|
214 |
Driver.InfoMessage = \
|
|
215 |
[INFO] {0}
|
|
216 |
|
|
217 |
ModelLoader.TooManySchema = \
|
|
218 |
Too many schema files for this schema language. Compile one file at a time.
|
|
219 |
|
|
220 |
ModelLoader.BindingFileNotSupportedForRNC = \
|
|
221 |
External binding files are not supported for the RELAX NG compact syntax.
|
|
222 |
|
|
223 |
Driver.DefaultVersion = \
|
|
224 |
Defaulting the version to JAXB 2.0
|
|
225 |
|
|
226 |
Driver.DefaultPackageWarning = \
|
|
227 |
Default Java package specified. You will not be able to access the generated code from classes in any other package.
|
|
228 |
|
|
229 |
Driver.NotAValidFileName = \
|
|
230 |
"{0}" is not a valid file name: {1}
|
|
231 |
|
|
232 |
Driver.FailedToParse = \
|
|
233 |
Failed to parse "{0}": {1}
|
|
234 |
|
|
235 |
Driver.NotAFileNorURL = \
|
|
236 |
"{0}" is neither a file name nor a URL
|
|
237 |
|
|
238 |
FIELD_RENDERER_CONFLICT = \
|
|
239 |
"-{0}" and "-{1}" are mutually exclusive since both affect the code generation
|
|
240 |
|
|
241 |
NAME_CONVERTER_CONFLICT = \
|
|
242 |
"-{0}" and "-{1}" are mutually exclusive since both affect the code generation
|
|
243 |
|
|
244 |
# {0} - file path, {1} - exception message e.g.: Failed to load "/foo/bar/Library.jar": File not found.
|
|
245 |
FAILED_TO_LOAD = \
|
|
246 |
Failed to load "{0}": {1}
|
|
247 |
|
|
248 |
PLUGIN_LOAD_FAILURE = \
|
|
249 |
Failure to load a plugin: "{0}". Use the system property ''-Dcom.sun.tools.internal.xjc.Options.findServices=true'' to \
|
|
250 |
diagnose it further
|