Class Inst2Xsd
java.lang.Object
org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd
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 TypeMethodDescriptionstatic SchemaDocument[]inst2xsd(Reader[] instReaders, Inst2XsdOptions options) static SchemaDocument[]inst2xsd(XmlObject[] instances, Inst2XsdOptions options) static void
-
Method Details
-
main
-
inst2xsd
public static SchemaDocument[] inst2xsd(Reader[] instReaders, Inst2XsdOptions options) throws IOException, XmlException - Throws:
IOExceptionXmlException
-
inst2xsd
-