/** * Creates a new {@link XMLSchemaInfoSet} instance that reads the schema documents from the given inputs. * * @param inputs * schema documents, must not be <code>null</code> and contain at least one entry * @throws ClassCastException * @throws ClassNotFoundException * @throws InstantiationException * @throws IllegalAccessException */ public XMLSchemaInfoSet( LSInput... inputs ) throws ClassCastException, ClassNotFoundException, InstantiationException, IllegalAccessException { xsModel = loadModel( inputs ); init(); }
/** * Creates a new {@link XMLSchemaInfoSet} instance that reads the schema documents from the given URLs. * * @param schemaUrls * locations of the schema documents, must not be <code>null</code> and contain at least one entry * @throws ClassCastException * @throws ClassNotFoundException * @throws InstantiationException * @throws IllegalAccessException */ public XMLSchemaInfoSet( String... schemaUrls ) throws ClassCastException, ClassNotFoundException, InstantiationException, IllegalAccessException { xsModel = loadModel( schemaUrls ); init(); }