jdk/src/solaris/doc/sun/man/man1/schemagen.1
changeset 21743 3d979da7bdf0
parent 9573 c02ff5a7c67b
child 31876 91b22707521a
--- a/jdk/src/solaris/doc/sun/man/man1/schemagen.1	Thu Nov 21 09:23:03 2013 -0800
+++ b/jdk/src/solaris/doc/sun/man/man1/schemagen.1	Mon Nov 25 20:19:02 2013 -0800
@@ -1,127 +1,122 @@
-." Copyright (c) 2005, 2011, 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.
-."
-.TH schemagen 1 "10 May 2011"
+'\" 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
+.\"
+.if n .pl 99999
+.TH 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
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
 
-.LP
-.SH "Name"
-schemagen \- Java(TM) Architecture for XML Binding Schema Generator
-.LP
-.LP
-\f3Specification Version:\fP 2.1
-.br
-\f3Implementation Version:\fP 2.1.3
-.LP
-.SH "Launching schemagen"
-.LP
-.LP
-The schema generator can be launched using the appropriate \f2schemagen\fP shell script in the \f2bin\fP directory for your platform.
-.LP
-.LP
-The current schema generator can process either Java source files or class files.
-.LP
-.LP
-We also provide an Ant task to run the schema generator \- see the instructions for 
-.na
-\f2using schemagen with Ant\fP @
-.fi
-https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html.
-.LP
-.nf
-\f3
-.fl
-% schemagen.sh Foo.java Bar.java ...
-.fl
-Note: Writing schema1.xsd
-.fl
-\fP
-.fi
+.SH NAME    
+schemagen \- Generates a schema for every name space that is referenced in your Java classes\&.
+.SH SYNOPSIS    
+.sp     
+.nf     
 
-.LP
-.LP
-If 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.
-.LP
-.SS 
-Command Line Options
-.LP
-.nf
-\f3
-.fl
-Usage: schemagen [\-options ...] <java files> 
-.fl
-
-.fl
-Options:
-.fl
-    \-d <path>             : specify where to place processor and javac generated class files
-.fl
-    \-cp <path>            : specify where to find user specified files
-.fl
-    \-classpath <path>     : specify where to find user specified files
-.fl
-    \-encoding <encoding>  : specify encoding to be used for apt/javac invocation
-.fl
-
-.fl
-    \-episode <file>       : generate episode file for separate compilation
-.fl
-    \-version              : display version information
-.fl
-    \-help                 : display this usage message
-.fl
-\fP
-.fi
-
-.LP
-.SH "Generated Resource Files"
-.LP
-.LP
-The 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 
-.na
-\f2the schema generator ant task\fP @
-.fi
-https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html.
-.LP
-.SH "Name"
-See Also
-.LP
-.RS 3
-.TP 2
-o
-Running the schema generator (schemagen): [
-.na
-\f2command\-line instructions\fP @
-.fi
-https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagen.html, 
-.na
-\f2using the SchemaGen Ant task\fP @
-.fi
-https://jaxb.dev.java.net/nonav/2.1.3/docs/schemagenTask.html] 
-.TP 2
-o
-.na
-\f2Java Architecture for XML Binding (JAXB)\fP @
-.fi
-http://download.oracle.com/javase/7/docs/technotes/guides/xml/jaxb/index.html 
-.RE
-
-.LP
- 
+\fBschemagen\fR [ \fIoptions\fR ] \fIjava\-files\fR
+.fi     
+.sp     
+.TP     
+\fIoptions\fR
+The command-line options\&. See Options\&.
+.TP     
+\fIjava-files\fR
+The Java class files to be processed\&.
+.SH 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
+.PP
+Start the schema generator with the appropriate \f3schemagen\fR shell script in the bin directory for your platform\&. The current schema generator can process either Java source files or class files\&.
+.sp     
+.nf     
+\f3schemagen\&.sh Foo\&.java Bar\&.java \&.\&.\&.\fP
+.fi     
+.nf     
+\f3Note: Writing schema1\&.xsd\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+If your java files reference other classes, then those classes must be accessible on your system \f3CLASSPATH\fR environment variable, or they need to be specified in the \f3schemagen\fR 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\&.
+.SH OPTIONS    
+.TP
+-d \fIpath\fR
+.br
+The location where the \f3schemagen\fR command places processor-generated and \f3javac\fR-generated class files\&.
+.TP
+-cp \fIpath\fR
+.br
+The location where the \f3schemagen\fR command places user-specified files\&.
+.TP
+-classpath \fIpath\fR
+.br
+The location where the \f3schemagen\fR command places user-specified files\&.
+.TP
+-encoding \fIencoding\fR
+.br
+Specifies the encoding to use for \f3apt\fR or \f3javac\fR command invocations\&.
+.TP
+-episode \fIfile\fR
+.br
+Generates an episode file for separate compilation\&.
+.TP
+-version
+.br
+Displays release information\&.
+.TP
+-help
+.br
+Displays a help message\&.
+.SH SEE\ ALSO    
+.TP 0.2i    
+\(bu
+Using SchemaGen with Ant at http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/schemagenTask\&.html
+.TP 0.2i    
+\(bu
+Java Architecture for XML Binding (JAXB) at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/xml/jaxb/index\&.html
+.RE
+.br
+'pl 8.5i
+'bp