t
Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

Arch: generic
Software: JDK 8
Date: 21 November 2013
SectDesc: Java Web Services Tools
Title: schemagen.1

schemagen 1 "21 November 2013" "JDK 8" "Java Web Services Tools"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
NAME
schemagen - Generates a schema for every name space that is referenced in your Java classes.
SYNOPSIS
 

schemagen [ options ] java-files

options The command-line options. See Options.

java-files The Java class files to be processed.

DESCRIPTION
The schema generator creates a schema file for each name space referenced in your Java classes. Currently, you cannot control the name of the generated schema files. To control the schema file names, see Using SchemaGen with Ant at http://jaxb.java.net/nonav/2.2.3u1/docs/schemagenTask.html

Start the schema generator with the appropriate \f3schemagen shell script in the bin directory for your platform. The current schema generator can process either Java source files or class files.

 
\f3schemagen.sh Foo.java Bar.java ...
 
\f3Note: Writing schema1.xsd
 
\f3
If your java files reference other classes, then those classes must be accessible on your system \f3CLASSPATH environment variable, or they need to be specified in the \f3schemagen command line with the class path options. See Options. If the referenced files are not accessible or specified, then you get errors when you generate the schema.
OPTIONS

-d path

The location where the \f3schemagen command places processor-generated and \f3javac-generated class files.

-cp path

The location where the \f3schemagen command places user-specified files.

-classpath path

The location where the \f3schemagen command places user-specified files.

-encoding encoding

Specifies the encoding to use for \f3apt or \f3javac command invocations.

-episode file

Generates an episode file for separate compilation.

-version

Displays release information.

-help

Displays a help message.

SEE ALSO

0.2i Using SchemaGen with Ant at http://jaxb.java.net/nonav/2.2.3u1/docs/schemagenTask.html

0.2i Java Architecture for XML Binding (JAXB) at http://docs.oracle.com/javase/8/docs/technotes/guides/xml/jaxb/index.html

'pl 8.5i 'bp