public class SchemaTypeSystemCompiler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SchemaTypeSystemCompiler.Parameters |
Constructor and Description |
---|
SchemaTypeSystemCompiler() |
Modifier and Type | Method and Description |
---|---|
static SchemaTypeSystem |
compile(SchemaTypeSystemCompiler.Parameters params)
Compiles a SchemaTypeSystem.
|
static SchemaTypeSystemImpl |
compile(String name,
SchemaTypeSystem existingSTS,
XmlObject[] input,
BindingConfig config,
SchemaTypeLoader linkTo,
Filer filer,
XmlOptions options)
Please do not invoke this method directly as the signature could change unexpectedly.
|
static boolean |
generateTypes(SchemaTypeSystem system,
Filer filer,
XmlOptions options)
Generate java source files for a SchemaTypeSystem.
|
public static SchemaTypeSystem compile(SchemaTypeSystemCompiler.Parameters params)
public static SchemaTypeSystemImpl compile(String name, SchemaTypeSystem existingSTS, XmlObject[] input, BindingConfig config, SchemaTypeLoader linkTo, Filer filer, XmlOptions options) throws XmlException
XmlBeans.loadXsd(XmlObject[])
,
XmlBeans.compileXsd(XmlObject[], SchemaTypeLoader, XmlOptions)
,
or
XmlBeans.compileXmlBeans(String, SchemaTypeSystem, XmlObject[], BindingConfig, SchemaTypeLoader, Filer, XmlOptions)
XmlException
public static boolean generateTypes(SchemaTypeSystem system, Filer filer, XmlOptions options)
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)
system
- the SchemaTypeSystem to generated java source forfiler
- to create the java source filesoptions
- See XmlOptions.setSchemaCodePrinter(org.apache.xmlbeans.SchemaCodePrinter)