12009
|
1 |
#
|
16791
|
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 |
# 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\
|
16791
|
73 |
\ \ -disableXmlSecurity : disables XML security features when parsing XML documents \n\
|
12009
|
74 |
\ \ -contentForWildcard : generates content property for types with multiple xs:any derived elements \n\
|
|
75 |
\ \ -xmlschema : treat input as W3C XML Schema (default)\n\
|
|
76 |
\ \ -relaxng : treat input as RELAX NG (experimental,unsupported)\n\
|
|
77 |
\ \ -relaxng-compact : treat input as RELAX NG compact syntax (experimental,unsupported)\n\
|
|
78 |
\ \ -dtd : treat input as XML DTD (experimental,unsupported)\n\
|
|
79 |
\ \ -wsdl : treat input as WSDL and compile schemas inside it (experimental,unsupported)\n\
|
|
80 |
\ \ -verbose : be extra verbose\n\
|
|
81 |
\ \ -quiet : suppress compiler output\n\
|
|
82 |
\ \ -help : display this help message\n\
|
|
83 |
\ \ -version : display version information\n\
|
|
84 |
\ \ -fullversion : display full version information\n\
|
|
85 |
|
|
86 |
Driver.AddonUsage = \nExtensions:
|
|
87 |
|
|
88 |
# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl
|
|
89 |
Driver.ExperimentalLanguageWarning = \
|
|
90 |
Are you trying to compile {0}? Support for {0} is experimental. \
|
|
91 |
You may enable it by using the {1} option.
|
|
92 |
|
|
93 |
# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility).
|
|
94 |
Driver.NonExistentDir = \
|
|
95 |
cowardly refuses to write to a non-existent directory "{0}"
|
|
96 |
|
|
97 |
# Usage not found. TODO Remove
|
|
98 |
#Driver.MissingRuntimePackageName = \
|
|
99 |
# the -use-runtime option is missing a package name
|
|
100 |
|
|
101 |
# Not concatenated with any other string (written on a separate line).
|
|
102 |
Driver.MissingModeOperand = \
|
|
103 |
the -mode option is missing an operand
|
|
104 |
|
|
105 |
# Usage not found. TODO Remove
|
|
106 |
#Driver.MissingCompatibilityOperand = \
|
|
107 |
# the -compatibility option is missing an operand
|
|
108 |
|
|
109 |
# Not concatenated with any other string (written on a separate line).
|
|
110 |
Driver.MissingOperand = \
|
|
111 |
an operand is missing
|
|
112 |
|
|
113 |
# Not concatenated with any other string (written on a separate line).
|
|
114 |
Driver.MissingProxyHost = \
|
|
115 |
either the -host option is missing an operand \n\
|
|
116 |
or -port was specified but not -host
|
|
117 |
|
|
118 |
# Not concatenated with any other string (written on a separate line).
|
|
119 |
Driver.MissingProxyPort = \
|
|
120 |
either the -port option is missing an operand \n\
|
|
121 |
or -host was specified but not -port
|
|
122 |
|
|
123 |
Driver.ILLEGAL_TARGET_VERSION = \
|
|
124 |
"{0}" is not a valid target version. "2.0" and "2.1" are supported.
|
|
125 |
|
|
126 |
# Not concatenated with any other string (written on a separate line).
|
|
127 |
Driver.MISSING_PROXYFILE = \
|
|
128 |
the -httpproxyfile option is missing an operand
|
|
129 |
|
|
130 |
Driver.NO_SUCH_FILE = \
|
|
131 |
No such file: {0}
|
|
132 |
|
|
133 |
Driver.ILLEGAL_PROXY = \
|
|
134 |
"{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
|
|
135 |
|
|
136 |
# Not concatenated with any other string (written on a separate line).
|
|
137 |
Driver.UnrecognizedMode = \
|
|
138 |
unrecognized mode {0}
|
|
139 |
|
|
140 |
# Not concatenated with any other string (written on a separate line).
|
|
141 |
Driver.UnrecognizedParameter = \
|
|
142 |
unrecognized parameter {0}
|
|
143 |
|
|
144 |
Driver.UnsupportedEncoding = \
|
|
145 |
unsupported encoding: {0}
|
|
146 |
|
|
147 |
Driver.MissingGrammar = \
|
|
148 |
grammar is not specified
|
|
149 |
|
|
150 |
# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang
|
|
151 |
Driver.NotABindingFile = \
|
|
152 |
not an external binding file. The root element must be '{'http://java.sun.com/xml/ns/jaxb'}'bindings but it is '{'{0}'}'{1}
|
|
153 |
|
|
154 |
# Not concatenated with any other string (written on a separate line).
|
|
155 |
Driver.ParsingSchema = \
|
|
156 |
parsing a schema...
|
|
157 |
|
|
158 |
Driver.ParseFailed = \
|
|
159 |
Failed to parse a schema.
|
|
160 |
|
|
161 |
Driver.StackOverflow = \
|
|
162 |
Stack overflow. Either you are compiling a large schema that requires more resources, or \
|
|
163 |
XJC has a bug. First, please extend the stack size by using the -Xss JVM option. If this \
|
|
164 |
doesn'''t solve the problem, please use the -debug option to obtain the stack trace and \
|
|
165 |
contact Sun.
|
|
166 |
|
|
167 |
# Not concatenated with any other string (written on a separate line).
|
|
168 |
Driver.CompilingSchema = \
|
|
169 |
compiling a schema...
|
|
170 |
|
|
171 |
Driver.FailedToGenerateCode = \
|
|
172 |
Failed to produce code.
|
|
173 |
|
16791
|
174 |
# DO NOT localize the 2.2.7-b63 string - it is a token for an ant <replaceFilter>
|
12009
|
175 |
Driver.FilePrologComment = \
|
16791
|
176 |
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b63 \n\
|
12009
|
177 |
See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \n\
|
|
178 |
Any modifications to this file will be lost upon recompilation of the source schema. \n\
|
|
179 |
Generated on: {0} \n
|
|
180 |
|
|
181 |
Driver.Version = \
|
16791
|
182 |
xjc 2.2.7-b63
|
12009
|
183 |
|
|
184 |
Driver.FullVersion = \
|
16791
|
185 |
xjc full version "2.2.7-b63-b19"
|
12009
|
186 |
|
16791
|
187 |
Driver.BuildID = 2.2.7-b63
|
12009
|
188 |
|
|
189 |
# for JDK integration - include version in source zip
|
16791
|
190 |
jaxb.jdk.version=2.2.7-b63
|
12009
|
191 |
|
|
192 |
# see java.text.SimpleDateFormat for format syntax
|
16791
|
193 |
# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date.
|
12009
|
194 |
Driver.DateFormat = \
|
|
195 |
yyyy.MM.dd
|
|
196 |
|
|
197 |
# see java.text.SimpleDateFormat for format syntax
|
16791
|
198 |
# Format should not be changed, English locale is used to transform this string into a real time.
|
12009
|
199 |
Driver.TimeFormat = \
|
|
200 |
hh:mm:ss a z
|
|
201 |
|
|
202 |
# as in: "generated on <date> at <time>"
|
|
203 |
Driver.At = \
|
|
204 |
at
|
|
205 |
|
|
206 |
# ERROR in this meaning is a well known level of logging and should not be translated.
|
|
207 |
Driver.ErrorMessage = \
|
|
208 |
[ERROR] {0}
|
|
209 |
|
|
210 |
# WARNING in this meaning is a well known level of logging and should not be translated.
|
|
211 |
Driver.WarningMessage = \
|
|
212 |
[WARNING] {0}
|
|
213 |
|
|
214 |
# INFO in this meaning is a well known level of logging and should not be translated.
|
|
215 |
Driver.InfoMessage = \
|
|
216 |
[INFO] {0}
|
|
217 |
|
|
218 |
ModelLoader.TooManySchema = \
|
|
219 |
Too many schema files for this schema language. Compile one file at a time.
|
|
220 |
|
|
221 |
ModelLoader.BindingFileNotSupportedForRNC = \
|
|
222 |
External binding files are not supported for the RELAX NG compact syntax.
|
|
223 |
|
|
224 |
Driver.DefaultVersion = \
|
|
225 |
Defaulting the version to JAXB 2.0
|
|
226 |
|
|
227 |
Driver.DefaultPackageWarning = \
|
|
228 |
Default Java package specified. You will not be able to access the generated code from classes in any other package.
|
|
229 |
|
|
230 |
Driver.NotAValidFileName = \
|
|
231 |
"{0}" is not a valid file name: {1}
|
|
232 |
|
|
233 |
Driver.FailedToParse = \
|
|
234 |
Failed to parse "{0}": {1}
|
|
235 |
|
|
236 |
Driver.NotAFileNorURL = \
|
|
237 |
"{0}" is neither a file name nor a URL
|
|
238 |
|
|
239 |
FIELD_RENDERER_CONFLICT = \
|
|
240 |
"-{0}" and "-{1}" are mutually exclusive since both affect the code generation
|
|
241 |
|
|
242 |
NAME_CONVERTER_CONFLICT = \
|
|
243 |
"-{0}" and "-{1}" are mutually exclusive since both affect the code generation
|
|
244 |
|
|
245 |
# {0} - file path, {1} - exception message e.g.: Failed to load "/foo/bar/Library.jar": File not found.
|
|
246 |
FAILED_TO_LOAD = \
|
|
247 |
Failed to load "{0}": {1}
|
|
248 |
|
|
249 |
PLUGIN_LOAD_FAILURE = \
|
|
250 |
Failure to load a plugin: "{0}". Use the system property ''-Dcom.sun.tools.internal.xjc.Options.findServices=true'' to \
|
|
251 |
diagnose it further
|