@Test public void getVersion() { Map<String, Schema> names = sps.getNamedMappings(); Schema beansSchema = names.get("www.springframework.org/schema/beans/spring-beans.xsd"); assertEquals(null, beansSchema.getVersion()); Schema beansSchema25 = names.get("www.springframework.org/schema/beans/spring-beans-2.5.xsd"); assertEquals("2.5", beansSchema25.getVersion()); }
public Map<String, Schema> getNamedMappings() { ensureInit(); return nameToSchemaMappings; }
SpringPluggableSchemas implements Schemas, Namespaces { public Map<String, Schema> getNamedMappings() { ensureInit(); return nameToSchemaMappings; } }
SpringPluggableSchemas implements Schemas, Namespaces { public Map<String, Schema> getNamedMappings() { ensureInit(); return nameToSchemaMappings; } SpringPluggableSchemas();  SpringPluggableSchemas(ClassLoader classLoader);  SpringPluggableSchemas(ResourceResolver resourceResolver); private  SpringPluggableSchemas(ClassLoader classLoader, ResourceResolver resourceResolver); }
SpringPluggableSchemas implements Schemas, Namespaces { public Map<String, Schema> getNamedMappings() { ensureInit(); return nameToSchemaMappings; } SpringPluggableSchemas();  SpringPluggableSchemas(ClassLoader classLoader);  SpringPluggableSchemas(ResourceResolver resourceResolver); private  SpringPluggableSchemas(ClassLoader classLoader, ResourceResolver resourceResolver); @Override Set<String> getAvailableNamespaces(); Map<String, Schema> getNamedMappings(); Map<String, String> getUriToNameMappings(); Map<String, String> getToolingParameters(String namespaceURI); @Override String toString(); }
SpringPluggableSchemas implements Schemas, Namespaces { public Map<String, Schema> getNamedMappings() { ensureInit(); return nameToSchemaMappings; } SpringPluggableSchemas();  SpringPluggableSchemas(ClassLoader classLoader);  SpringPluggableSchemas(ResourceResolver resourceResolver); private  SpringPluggableSchemas(ClassLoader classLoader, ResourceResolver resourceResolver); @Override Set<String> getAvailableNamespaces(); Map<String, Schema> getNamedMappings(); Map<String, String> getUriToNameMappings(); Map<String, String> getToolingParameters(String namespaceURI); @Override String toString();  }