public class XSDLoader extends Object
| Constructor and Description |
|---|
XSDLoader(SchemaManagerImpl schemaManager) |
XSDLoader(SchemaManagerImpl schemaManager,
boolean collectReferencedXSD) |
XSDLoader(SchemaManagerImpl schemaManager,
SchemaBindingDescriptor sd) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getReferencedXSD() |
Schema |
loadSchema(String name,
String prefix,
File file,
boolean override) |
Schema |
loadSchema(String name,
String prefix,
File file,
boolean override,
String xsdElement) |
Schema |
loadSchema(String name,
String prefix,
URL url) |
Schema |
loadSchema(String name,
String prefix,
URL url,
String xsdElement)
Create Nuxeo schema from a XSD resource.
|
public XSDLoader(SchemaManagerImpl schemaManager)
public XSDLoader(SchemaManagerImpl schemaManager, SchemaBindingDescriptor sd)
public XSDLoader(SchemaManagerImpl schemaManager, boolean collectReferencedXSD)
public Schema loadSchema(String name, String prefix, File file, boolean override) throws SAXException, IOException, TypeException
SAXExceptionIOExceptionTypeExceptionpublic Schema loadSchema(String name, String prefix, File file, boolean override, String xsdElement) throws SAXException, IOException, TypeException
SAXExceptionIOExceptionTypeExceptionpublic Schema loadSchema(String name, String prefix, URL url, String xsdElement) throws SAXException, TypeException
name - schema nameprefix - schema prefixurl - url to load the XSD resourcexsdElement - name of the complex element to use as root of the
schemaSAXExceptionTypeExceptionpublic Schema loadSchema(String name, String prefix, URL url) throws SAXException, TypeException
SAXExceptionTypeExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.