@Test public void testListWithSameInnerField() throws Exception { URL url = ResourceHelper.getResource("schema/testListWithSameInnerField.xsd"); assertNotNull(url); Schema schema = reader.loadSchema("extension", "prefix", url, "employee"); assertNotNull(schema); assertTrue(schema.hasField("listWithString")); assertTrue(schema.hasField("listWithInteger")); checkListTypes(schema, "t_listWithString", StringType.class); checkListTypes(schema, "t_listWithInteger", LongType.class); }
public Schema loadSchema(String name, String prefix, File file) throws SAXException, IOException, TypeException { return loadSchema(name, prefix, file, null); }
XSDLoader { public Schema loadSchema(String name, String prefix, File file) throws SAXException, IOException, TypeException { return loadSchema(name, prefix, file, null); } }
XSDLoader { public Schema loadSchema(String name, String prefix, File file) throws SAXException, IOException, TypeException { return loadSchema(name, prefix, file, null); } XSDLoader(SchemaManagerImpl schemaManager);  XSDLoader(SchemaManagerImpl schemaManager, SchemaBindingDescriptor sd);  XSDLoader(SchemaManagerImpl schemaManager, boolean collectReferencedXSD); }
XSDLoader { public Schema loadSchema(String name, String prefix, File file) throws SAXException, IOException, TypeException { return loadSchema(name, prefix, file, null); } XSDLoader(SchemaManagerImpl schemaManager);  XSDLoader(SchemaManagerImpl schemaManager, SchemaBindingDescriptor sd);  XSDLoader(SchemaManagerImpl schemaManager, boolean collectReferencedXSD); Schema loadSchema(String name, String prefix, File file); Schema loadSchema(String name, String prefix, File file, String xsdElement); Schema loadSchema(String name, String prefix, File file, String xsdElement, boolean isVersionWritable); Schema loadSchema(String name, String prefix, URL url, String xsdElement); Schema loadSchema(String name, String prefix, URL url); List<String> getReferencedXSD(); }
XSDLoader { public Schema loadSchema(String name, String prefix, File file) throws SAXException, IOException, TypeException { return loadSchema(name, prefix, file, null); } XSDLoader(SchemaManagerImpl schemaManager);  XSDLoader(SchemaManagerImpl schemaManager, SchemaBindingDescriptor sd);  XSDLoader(SchemaManagerImpl schemaManager, boolean collectReferencedXSD); Schema loadSchema(String name, String prefix, File file); Schema loadSchema(String name, String prefix, File file, String xsdElement); Schema loadSchema(String name, String prefix, File file, String xsdElement, boolean isVersionWritable); Schema loadSchema(String name, String prefix, URL url, String xsdElement); Schema loadSchema(String name, String prefix, URL url); List<String> getReferencedXSD();  }