org.apache.xmlbeans.impl.schema
Class SchemaTypeSystemCompiler
java.lang.Object
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler
public class SchemaTypeSystemCompiler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaTypeSystemCompiler
public SchemaTypeSystemCompiler()
compile
public static SchemaTypeSystem compile(SchemaTypeSystemCompiler.Parameters params)
- Compiles a SchemaTypeSystem. Use XmlBeans.compileXmlBeans() if you can.
compile
public static SchemaTypeSystemImpl compile(java.lang.String name,
SchemaTypeSystem existingSTS,
XmlObject[] input,
BindingConfig config,
SchemaTypeLoader linkTo,
Filer filer,
XmlOptions options)
throws XmlException
- Please do not invoke this method directly as the signature could change unexpectedly.
Use one of
XmlBeans.loadXsd(XmlObject[])
,
XmlBeans.compileXsd(XmlObject[], SchemaTypeLoader, XmlOptions)
,
or
XmlBeans.compileXmlBeans(String, SchemaTypeSystem, XmlObject[], BindingConfig, SchemaTypeLoader, Filer, XmlOptions)
- Throws:
XmlException
generateTypes
public static boolean generateTypes(SchemaTypeSystem system,
Filer filer,
XmlOptions options)
- Generate java source files for a SchemaTypeSystem.
Please do not invoke this method directly as the signature could change unexpectedly.
Use
XmlBeans.compileXmlBeans(java.lang.String, org.apache.xmlbeans.SchemaTypeSystem, org.apache.xmlbeans.XmlObject[], org.apache.xmlbeans.BindingConfig, org.apache.xmlbeans.SchemaTypeLoader, org.apache.xmlbeans.Filer, org.apache.xmlbeans.XmlOptions)
- Parameters:
system
- the SchemaTypeSystem to generated java source forfiler
- to create the java source filesoptions
- See XmlOptions.setSchemaCodePrinter(org.apache.xmlbeans.SchemaCodePrinter)
- Returns:
- true if saving the generated source succeeded.