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