Class Inst2Xsd
java.lang.Object
org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd
public class Inst2Xsd extends 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
Modifier and Type Method Description static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[]
inst2xsd(Reader[] instReaders, Inst2XsdOptions options)
static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[]
inst2xsd(XmlObject[] instances, Inst2XsdOptions options)
static void
main(String[] args)
-
Method Details
-
main
-
inst2xsd
public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] inst2xsd(Reader[] instReaders, Inst2XsdOptions options) throws IOException, XmlException- Throws:
IOException
XmlException
-
inst2xsd
public static org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] inst2xsd(XmlObject[] instances, Inst2XsdOptions options)
-