blob: 2e008f7bbdd9b3d3aca1d0a03104f26805799adb [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001.'" t
2."
3." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
4." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5."
6." This code is free software; you can redistribute it and/or modify it
7." under the terms of the GNU General Public License version 2 only, as
8." published by the Free Software Foundation.
9."
10." This code is distributed in the hope that it will be useful, but WITHOUT
11." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13." version 2 for more details (a copy is included in the LICENSE file that
14." accompanied this code).
15."
16." You should have received a copy of the GNU General Public License version
17." 2 along with this work; if not, write to the Free Software Foundation,
18." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19."
20." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
21." CA 95054 USA or visit www.sun.com if you need additional information or
22." have any questions.
23."
24." `
25.TH schemagen 1 "2006 ǯ 9 ·î 4 Æü" "Java SE 6" "¥æ¡¼¥¶¡¼¥³¥Þ¥ó¥É"
26." Generated by html2roff
27
28.LP
29.ad c
30.SH ̾Á°
31XML ¥Ð¥¤¥ó¥É¤Î¤¿¤á¤Î Java(TM) ¥¢¡¼¥­¥Æ¥¯¥Á¥ã
32.br
33¥¹¥­¡¼¥Þ¥¸¥§¥Í¥ì¡¼¥¿\f3»ÅÍͤΥС¼¥¸¥ç¥ó:\fP 2.0
34.br
35\f3¥ê¥Õ¥¡¥ì¥ó¥¹¼ÂÁõ (Reference Implementation¡¢RI) ¤Î¥Ð¡¼¥¸¥ç¥ó:\fP 2.0 ea3
36.br
37.ad l
38.LP
39.SS
40schemagen ¤Îµ¯Æ°
41.LP
42.LP
43¥¹¥­¡¼¥Þ¥¸¥§¥Í¥ì¡¼¥¿¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Î \f2bin\fP ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë \f2schemagen\fP ¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤ò»È¤Ã¤Æµ¯Æ°¤Ç¤­¤Þ¤¹¡£
44.LP
45.LP
46¸½ºß¤Î¥¹¥­¡¼¥Þ¥¸¥§¥Í¥ì¡¼¥¿¤Ï¡¢Java ¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤È¥¯¥é¥¹¥Õ¥¡¥¤¥ë¤Î¤¤¤º¤ì¤â½èÍý¤Ç¤­¤Þ¤¹¡£
47.LP
48.LP
49¤Þ¤¿¡¢¥¹¥­¡¼¥Þ¥¸¥§¥Í¥ì¡¼¥¿¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Î Ant ¥¿¥¹¥¯¤âÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£schemagen ¤ò Ant ¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¤¿¤á¤Î¼ê½ç¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
50.LP
51.RS 3
52
53.LP
54\f3Solaris/Linux ¤Î¾ì¹ç\fP
55.LP
56.nf
57\f3
58.fl
59 % path/to/jaxb/bin/schemagen.sh Foo.java Bar.java ...
60.fl
61 Note: Writing schema1.xsd
62.fl
63
64.fl
65\fP
66.fi
67
68.LP
69\f3WindowsNT/2000/XP ¤Î¾ì¹ç\fP
70.LP
71.nf
72\f3
73.fl
74 > path\\to\\jaxb\\bin\\schemagen.bat Foo.java Bar.java ...
75.fl
76 Note: Writing schema1.xsd
77.fl
78
79.fl
80\fP
81.fi
82.RE
83
84.LP
85.LP
86¥æ¡¼¥¶¤Î Java ¥½¡¼¥¹/¥¯¥é¥¹¤¬¤Û¤«¤Î¥¯¥é¥¹¤ò»²¾È¤·¤Æ¤¤¤ë¾ì¹ç¡¢¥·¥¹¥Æ¥à¤Î CLASSPATH ´Ä¶­ÊÑ¿ô·Ðͳ¤Ç¤½¤ì¤é¤Î¥¯¥é¥¹¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«¡¢¤¢¤ë¤¤¤Ï \f2\-classpath\fP/\f2\-cp\fP ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¤½¤ì¤é¤Î¥¯¥é¥¹¤ò¥Ä¡¼¥ë¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤¦¤·¤Ê¤¤¤È¡¢¥¹¥­¡¼¥Þ¤ÎÀ¸À®»þ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤¹¡£
87.LP
88.RS 3
89
90.LP
91\f3¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó\fP
92.LP
93
94.LP
95.nf
96\f3
97.fl
98»ÈÍÑË¡: schemagen [\-options ...] <java files>
99.fl
100
101.fl
102¥ª¥×¥·¥ç¥ó:
103.fl
104 \-d <path> : ¥×¥í¥»¥Ã¥µ¤ª¤è¤Ó javac ¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¥¯¥é¥¹¥Õ¥¡¥¤¥ë¤Î³ÊǼ¾ì½ê¤ò»ØÄꤷ¤Þ¤¹
105.fl
106 \-cp <path> : ¥æ¡¼¥¶»ØÄê¥Õ¥¡¥¤¥ë¤Î¸¡º÷¾ì½ê¤ò»ØÄꤷ¤Þ¤¹
107.fl
108 \-classpath <path> : ¥æ¡¼¥¶»ØÄê¥Õ¥¡¥¤¥ë¤Î¸¡º÷¾ì½ê¤ò»ØÄꤷ¤Þ¤¹
109.fl
110 \-help : ¤³¤Î»ÈÍÑÊýË¡¤Ë´Ø¤¹¤ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹
111.fl
112
113.fl
114\fP
115.fi
116
117.LP
118.RE
119.SS
120À¸À®¤µ¤ì¤ë¥ê¥½¡¼¥¹¥Õ¥¡¥¤¥ë
121.LP
122.LP
123¸½ºß¤Î¥¹¥­¡¼¥Þ¥¸¥§¥Í¥ì¡¼¥¿¤Ïñ½ã¤Ë¡¢Java ¥¯¥é¥¹Æâ¤Ç»²¾È¤µ¤ì¤Æ¤¤¤ë̾Á°¶õ´Ö¤´¤È¤Ë 1 ¤Ä¤Î¥¹¥­¡¼¥Þ¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Þ¤¹¡£À¸À®¤µ¤ì¤ë¥¹¥­¡¼¥Þ¥Õ¥¡¥¤¥ë¤Î̾Á°¤òÀ©¸æ¤¹¤ëÊýË¡¤Ï¡¢¸½»þÅÀ¤Ç¤Ï¸ºß¤·¤Þ¤»¤ó¡£¤½¤¦¤·¤¿ÌÜŪ¤Ë¤Ï¡¢¥¹¥­¡¼¥Þ¥¸¥§¥Í¥ì¡¼¥¿¤Î ant ¥¿¥¹¥¯¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
124.LP
125