public class XSDLoader extends Object
Constructor and Description |
---|
XSDLoader(SchemaManagerImpl typeManager) |
Modifier and Type | Method and Description |
---|---|
ListType |
createListType(Schema schema,
String name,
com.sun.xml.xsom.XSParticle particle) |
static com.sun.xml.xsom.XSSchema |
getUserSchema(com.sun.xml.xsom.XSSchemaSet schemaSet) |
Type |
loadLocalType(com.sun.xml.xsom.XSType xsType) |
Schema |
loadSchema(String name,
String prefix,
File file,
boolean override) |
Schema |
loadSchema(String name,
String prefix,
InputStream in) |
Schema |
loadSchema(String name,
String prefix,
URL url) |
Schema |
loadSchema(String name,
String prefix,
com.sun.xml.xsom.XSSchema schema,
boolean override) |
Type |
loadType(Schema schema,
com.sun.xml.xsom.XSType type) |
public static final String NS_XSD
public XSDLoader(SchemaManagerImpl typeManager)
public static com.sun.xml.xsom.XSSchema getUserSchema(com.sun.xml.xsom.XSSchemaSet schemaSet)
public Schema loadSchema(String name, String prefix, File file, boolean override) throws SAXException, IOException, TypeException
SAXException
IOException
TypeException
public Schema loadSchema(String name, String prefix, URL url) throws SAXException, TypeException
SAXException
TypeException
public Schema loadSchema(String name, String prefix, InputStream in) throws SAXException, TypeException
SAXException
TypeException
public Schema loadSchema(String name, String prefix, com.sun.xml.xsom.XSSchema schema, boolean override) throws TypeException
TypeException
public Type loadType(Schema schema, com.sun.xml.xsom.XSType type) throws TypeBindingException
TypeBindingException
public Type loadLocalType(com.sun.xml.xsom.XSType xsType)
public ListType createListType(Schema schema, String name, com.sun.xml.xsom.XSParticle particle) throws TypeBindingException
TypeBindingException
Copyright © 2011 Nuxeo SA. All Rights Reserved.