Como gerar 1 classe apartir de 2 XSDs utilizando XJC

Bom dia Pessoal,

Existe uma formda de eu gerar 1 classe apartir de 2 XSDs utilizando XJC (JAXB)?

valeu!

"A partir" é separado, não junto. Não aprenda gramática lendo o cartaz da promoção do supermercado…

Você pode passar vários XSDs para o xjc de uma só vez, mas acho que você quer criar apenas uma classe? Se não me engano, mesmo que você passe um único XSD com um único tipo você acaba gerando várias classes.

(O "…" quer dizer que você pode repetir a opção ou argumento.)

C&gtxjc
grammar is not specified

Usage: xjc [-options ...] <schema file/URL/dir> ... [-b <bindinfo>] ...
Options:
  -nv                :  do not perform strict validation of the input schema(s)
  -extension         :  allow vendor extensions - do not strictly follow the
                        Compatibility Rules and App E.2 from the JAXB Spec
  -b <file/dir>      :  specify external bindings files (each <file> must have i
ts own -b)
                        If a directory is given, **/*.xjb is searched
  -d <dir>           :  generated files will go into this directory
  -p <pkg>           :  specifies the target package
  -httpproxy <proxy> :  set HTTP/HTTPS proxy. Format is [user[:password]@]proxyH
ost:proxyPort
  -httpproxyfile <f> :  Works like -httpproxy but takes the argument in a file t
o protect password
  -classpath <arg>   :  specify where to find user class files
  -catalog <file>    :  specify catalog files to resolve external entity referen
ces
                        support TR9401, XCatalog, and OASIS XML Catalog format.
  -readOnly          :  generated files will be in read-only mode
  -npa               :  suppress generation of package level annotations (**/pac
kage-info.java)
  -no-header         :  suppress generation of a file header with timestamp
  -xmlschema         :  treat input as W3C XML Schema (default)
  -relaxng           :  treat input as RELAX NG (experimental,unsupported)
  -relaxng-compact   :  treat input as RELAX NG compact syntax (experimental,uns
upported)
  -dtd               :  treat input as XML DTD (experimental,unsupported)
  -wsdl              :  treat input as WSDL and compile schemas inside it (exper
imental,unsupported)
  -verbose           :  be extra verbose
  -quiet             :  suppress compiler output
  -help              :  display this help message
  -version           :  display version information

Valeu Prof. Pasquale Cipro Neto!! hehehe

Esse parametro -b pede um arquivo xjb certo?

Vc sabe onde eu posso achar algo sobre ele. Eu sei q existe algo chamado www.google.com.br e estou procurando la, mas se vc tiver algo mais especifico.

valeu!!