com.sun.tools.xjc
public final class ModelLoader extends Object
Constructor Summary | |
---|---|
ModelLoader(Options _opt, JCodeModel _codeModel, ErrorReceiver er) |
Method Summary | |
---|---|
Model | annotateXMLSchema(XSSchemaSet xs)
Annotates the obtained schema set.
|
DOMForest | buildDOMForest(InternalizationLogic logic)
Builds DOMForest and performs the internalization.
|
XSSchemaSet | createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet)
Parses a DOMForest into a XSSchemaSet.
|
XSOMParser | createXSOMParser(XMLParser parser) |
XSOMParser | createXSOMParser(DOMForest forest) |
static Model | load(Options opt, JCodeModel codeModel, ErrorReceiver er)
A convenience method to load schemas into a Model. |
XSSchemaSet | loadXMLSchema()
Parses a set of XML Schema files into an annotated grammar. |
Returns: null if an error happens. In that case, the error messages will be properly reported to the controller by this method.
Throws: SAXException when a fatal error happens
Returns: null if the parsing failed.