org.apache.xmlbeans.impl.inst2xsd
Class Inst2Xsd

java.lang.Object
  extended by org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd

public class Inst2Xsd
extends java.lang.Object

Author:
Cezar Andrei (cezar.andrei at bea.com) Date: Jul 16, 2004 This class generates a set of XMLSchemas from an instance XML document. How it works: - first: pass through all the instances, building a TypeSystemHolder structure - second: serialize the TypeSystemHolder structure into SchemaDocuments

Method Summary
static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] inst2xsd(java.io.Reader[] instReaders, Inst2XsdOptions options)
           
static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] inst2xsd(XmlObject[] instances, Inst2XsdOptions options)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)

inst2xsd

public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] inst2xsd(java.io.Reader[] instReaders,
                                                                              Inst2XsdOptions options)
                                                                       throws java.io.IOException,
                                                                              XmlException
Throws:
java.io.IOException
XmlException

inst2xsd

public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] inst2xsd(XmlObject[] instances,
                                                                              Inst2XsdOptions options)