23600
|
1 |
'\" t
|
|
2 |
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
|
3 |
.\" Title: schemagen
|
|
4 |
.\" Language: English
|
|
5 |
.\" Date: 2013年11月21日
|
|
6 |
.\" SectDesc: Java Webサービス・ツール
|
|
7 |
.\" Software: JDK 8
|
|
8 |
.\" Arch: 汎用
|
|
9 |
.\"
|
|
10 |
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
11 |
.\"
|
|
12 |
.\" This code is free software; you can redistribute it and/or modify it
|
|
13 |
.\" under the terms of the GNU General Public License version 2 only, as
|
|
14 |
.\" published by the Free Software Foundation.
|
|
15 |
.\"
|
|
16 |
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
|
17 |
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
18 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
19 |
.\" version 2 for more details (a copy is included in the LICENSE file that
|
|
20 |
.\" accompanied this code).
|
|
21 |
.\"
|
|
22 |
.\" You should have received a copy of the GNU General Public License version
|
|
23 |
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
|
24 |
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
25 |
.\"
|
|
26 |
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
27 |
.\" or visit www.oracle.com if you need additional information or have any
|
|
28 |
.\" questions.
|
|
29 |
.\"
|
|
30 |
.pl 99999
|
|
31 |
.TH "schemagen" "1" "2013年11月21日" "JDK 8" "Java Webサービス・ツール"
|
|
32 |
.\" -----------------------------------------------------------------
|
|
33 |
.\" * Define some portability stuff
|
|
34 |
.\" -----------------------------------------------------------------
|
|
35 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
36 |
.\" http://bugs.debian.org/507673
|
|
37 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
38 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
39 |
.ie \n(.g .ds Aq \(aq
|
|
40 |
.el .ds Aq '
|
|
41 |
.\" -----------------------------------------------------------------
|
|
42 |
.\" * set default formatting
|
|
43 |
.\" -----------------------------------------------------------------
|
|
44 |
.\" disable hyphenation
|
|
45 |
.nh
|
|
46 |
.\" disable justification (adjust text to left margin only)
|
|
47 |
.ad l
|
|
48 |
.\" -----------------------------------------------------------------
|
|
49 |
.\" * MAIN CONTENT STARTS HERE *
|
|
50 |
.\" -----------------------------------------------------------------
|
|
51 |
.SH "NAME"
|
|
52 |
schemagen \- Javaクラス内で参照されているネームスペースごとにスキーマを生成します。
|
|
53 |
.SH "概要"
|
|
54 |
.sp
|
|
55 |
.if n \{\
|
|
56 |
.RS 4
|
|
57 |
.\}
|
|
58 |
.nf
|
|
59 |
\fIschemagen\fR [ \fIoptions\fR ] \fIjava\-files\fR
|
2692
|
60 |
.fi
|
23600
|
61 |
.if n \{\
|
|
62 |
.RE
|
|
63 |
.\}
|
|
64 |
.PP
|
|
65 |
\fIoptions\fR
|
|
66 |
.RS 4
|
|
67 |
コマンドライン・オプション。オプションを参照してください。
|
|
68 |
.RE
|
|
69 |
.PP
|
|
70 |
\fIjava\-files\fR
|
|
71 |
.RS 4
|
|
72 |
処理するJavaクラス・ファイル。
|
|
73 |
.RE
|
|
74 |
.SH "説明"
|
|
75 |
.PP
|
|
76 |
スキーマ・ジェネレータは、Javaクラス内で参照されているネームスペースごとに1つのスキーマ・ファイルを作成します。現在、生成されるスキーマ・ファイルの名前は制御できません。スキーマ・ファイル名を制御する場合は、http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/schemagenTask\&.htmlにある
|
|
77 |
「Using SchemaGen with Ant」を参照してください
|
|
78 |
.PP
|
|
79 |
プラットフォームのbinディレクトリにある適切な\fIschemagen\fRシェル・スクリプトを使用して、スキーマ・ジェネレータを起動します。現在のスキーマ・ジェネレータは、Javaソース・ファイルとクラス・ファイルのいずれも処理できます。
|
|
80 |
.sp
|
|
81 |
.if n \{\
|
|
82 |
.RS 4
|
|
83 |
.\}
|
2
|
84 |
.nf
|
23600
|
85 |
schemagen\&.sh Foo\&.java Bar\&.java \&.\&.\&.
|
|
86 |
Note: Writing schema1\&.xsd
|
2
|
87 |
.fi
|
23600
|
88 |
.if n \{\
|
|
89 |
.RE
|
|
90 |
.\}
|
|
91 |
.PP
|
|
92 |
javaファイルが他のクラスを参照している場合、それらのクラスにシステム\fICLASSPATH\fR環境変数でアクセスできる必要があります。または、クラス・パス・オプションを指定して\fIschemagen\fRコマンド・ラインで指定する必要があります。オプションを参照してください。参照されるファイルにアクセスできない、または参照されるファイルが指定されていない場合、スキーマの生成時にエラーが表示されます。
|
|
93 |
.SH "オプション"
|
|
94 |
.PP
|
|
95 |
\-d \fIpath\fR
|
|
96 |
.RS 4
|
|
97 |
\fIschemagen\fRコマンドがプロセッサ生成および\fIjavac\fR生成クラス・ファイルを配置する場所。
|
|
98 |
.RE
|
|
99 |
.PP
|
|
100 |
\-cp \fIpath\fR
|
|
101 |
.RS 4
|
|
102 |
\fIschemagen\fRコマンドがユーザー指定ファイルを配置する場所。
|
|
103 |
.RE
|
|
104 |
.PP
|
|
105 |
\-classpath \fIpath\fR
|
|
106 |
.RS 4
|
|
107 |
\fIschemagen\fRコマンドがユーザー指定ファイルを配置する場所。
|
|
108 |
.RE
|
|
109 |
.PP
|
|
110 |
\-encoding \fIencoding\fR
|
|
111 |
.RS 4
|
|
112 |
\fIapt\fRまたは\fIjavac\fRコマンドの呼出しに使用するエンコーディングを指定します。
|
|
113 |
.RE
|
|
114 |
.PP
|
|
115 |
\-episode \fIfile\fR
|
|
116 |
.RS 4
|
|
117 |
コンパイルごとにエピソード・ファイルを生成します。
|
|
118 |
.RE
|
|
119 |
.PP
|
|
120 |
\-version
|
|
121 |
.RS 4
|
|
122 |
リリース情報を表示します。
|
|
123 |
.RE
|
|
124 |
.PP
|
|
125 |
\-help
|
|
126 |
.RS 4
|
|
127 |
ヘルプ・メッセージを表示します。
|
|
128 |
.RE
|
|
129 |
.SH "関連項目"
|
|
130 |
.sp
|
|
131 |
.RS 4
|
|
132 |
.ie n \{\
|
|
133 |
\h'-04'\(bu\h'+03'\c
|
|
134 |
.\}
|
|
135 |
.el \{\
|
|
136 |
.sp -1
|
|
137 |
.IP \(bu 2.3
|
|
138 |
.\}
|
|
139 |
Using SchemaGen with Ant
|
2
|
140 |
|
23600
|
141 |
(http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/schemagenTask\&.html)
|
|
142 |
.RE
|
|
143 |
.sp
|
|
144 |
.RS 4
|
|
145 |
.ie n \{\
|
|
146 |
\h'-04'\(bu\h'+03'\c
|
|
147 |
.\}
|
|
148 |
.el \{\
|
|
149 |
.sp -1
|
|
150 |
.IP \(bu 2.3
|
|
151 |
.\}
|
|
152 |
Java Architecture for XML Binding (JAXB)
|
2
|
153 |
|
23600
|
154 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/xml/jaxb/index\&.html)
|
2692
|
155 |
.RE
|
23600
|
156 |
.br
|
|
157 |
'pl 8.5i
|
|
158 |
'bp
|