| Constructor and Description |
|---|
ModelLoader(Options _opt,
JCodeModel _codeModel,
ErrorReceiver er) |
| Modifier and Type | Method and Description |
|---|---|
Model |
annotateXMLSchema(com.sun.xml.xsom.XSSchemaSet xs)
Annotates the obtained schema set.
|
DOMForest |
buildDOMForest(InternalizationLogic logic)
Builds DOMForest and performs the internalization.
|
com.sun.xml.xsom.XSSchemaSet |
createXSOM(DOMForest forest,
SCDBasedBindingSet scdBasedBindingSet)
Parses a
DOMForest into a XSSchemaSet. |
com.sun.xml.xsom.parser.XSOMParser |
createXSOMParser(DOMForest forest) |
com.sun.xml.xsom.parser.XSOMParser |
createXSOMParser(com.sun.xml.xsom.parser.XMLParser parser)
Potentially problematic - make sure the parser instance passed is initialized
with proper security feature.
|
static Model |
load(Options opt,
JCodeModel codeModel,
ErrorReceiver er)
A convenience method to load schemas into a
Model. |
com.sun.xml.xsom.XSSchemaSet |
loadXMLSchema()
Parses a set of XML Schema files into an annotated grammar.
|
public ModelLoader(Options _opt, JCodeModel _codeModel, ErrorReceiver er)
public static Model load(Options opt, JCodeModel codeModel, ErrorReceiver er)
Model.public DOMForest buildDOMForest(InternalizationLogic logic) throws SAXException
SAXException - when a fatal error happenspublic com.sun.xml.xsom.XSSchemaSet loadXMLSchema()
throws SAXException
SAXExceptionpublic Model annotateXMLSchema(com.sun.xml.xsom.XSSchemaSet xs)
public com.sun.xml.xsom.parser.XSOMParser createXSOMParser(com.sun.xml.xsom.parser.XMLParser parser)
parser - public com.sun.xml.xsom.parser.XSOMParser createXSOMParser(DOMForest forest)
public com.sun.xml.xsom.XSSchemaSet createXSOM(DOMForest forest, SCDBasedBindingSet scdBasedBindingSet) throws SAXException
DOMForest into a XSSchemaSet.SAXExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.