0N/A." Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
0N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A." This code is free software; you can redistribute it
and/or modify it
0N/A." under the terms of the GNU General Public License version 2 only, as
0N/A." published by the Free Software Foundation.
0N/A." This code is distributed in the hope that it will be useful, but WITHOUT
0N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A." version 2 for more details (a copy is included in the LICENSE file that
0N/A." accompanied this code).
0N/A." You should have received a copy of the GNU General Public License version
0N/A." 2 along with this work; if not, write to the Free Software Foundation,
0N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A." CA 95054 USA or visit
www.sun.com if you need additional information or
0N/A." have any questions.
1178N/A.TH schemagen 1 "04 May 2009"
1178N/A." Generated from HTML by html2man (author: Eric Armstrong)
1178N/Aschemagen \- Java(TM) Architecture for XML Binding Schema Generator
1178N/A\f3Specification Version:\fP 2.1
1178N/A\f3Implementation Version:\fP 2.1.3
0N/AThe schema generator can be launched using the appropriate \f2schemagen\fP shell script in the \f2bin\fP directory for your platform.
0N/AThe current schema generator can process either Java source files or class files.
1178N/AWe also provide an Ant task to run the schema generator \- see the instructions for
1178N/A\f2using schemagen with Ant\fP @
0N/AIf your java
sources/classes reference other classes, they must be accessable on your system CLASSPATH environment variable, or they need to be given to the tool by using the \f2\-classpath\fP/\f2\-cp\fP options. Otherwise you will see errors when generating your schema.
0N/A\f3Command Line Options\fP
0N/AUsage: schemagen [\-options ...] <java files>
0N/A \-d <path> : Specify where to place processor and javac generated class files
0N/A \-cp <path> : Specify where to find user specified files
0N/A \-classpath <path> : Specify where to find user specified files
0N/A \-help : Display this usage message
0N/AGenerated Resource Files
1178N/AThe current schema generator simply creates a schema file for each namespace referenced in your Java classes. There is no way to control the name of the generated schema files at this time. For that purpose, use
1178N/A\f2the schema generator ant task\fP @
1178N/ARunning the schema generator (schemagen): [
1178N/A\f2command\-line instructions\fP @
1178N/A\f2using the SchemaGen Ant task\fP @
1178N/A\f2Java Architecture for XML Binding (JAXB)\fP @