Home
last modified time | relevance | path

Searched refs:schemaLanguage (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactory.java180 public static SchemaFactory newInstance(String schemaLanguage) { in newInstance() argument
190 SchemaFactory f = new SchemaFactoryFinder(cl).newFactory(schemaLanguage); in newInstance()
192 throw new IllegalArgumentException(schemaLanguage); in newInstance()
204 public static SchemaFactory newInstance(String schemaLanguage, String factoryClassName, in newInstance() argument
206 if (schemaLanguage == null) { in newInstance()
219 if (result == null || !result.isSchemaLanguageSupported(schemaLanguage)) { in newInstance()
220 throw new IllegalArgumentException(schemaLanguage); in newInstance()
244 public abstract boolean isSchemaLanguageSupported(String schemaLanguage); in isSchemaLanguageSupported() argument
DSchemaFactoryFinder.java148 public SchemaFactory newFactory(String schemaLanguage) { in newFactory() argument
149 if (schemaLanguage == null) { in newFactory()
152 SchemaFactory f = _newFactory(schemaLanguage); in newFactory()
155 … debugPrintln("factory '" + f.getClass().getName() + "' was found for " + schemaLanguage); in newFactory()
157 debugPrintln("unable to find a factory for " + schemaLanguage); in newFactory()
170 private SchemaFactory _newFactory(String schemaLanguage) { in _newFactory() argument
172 String propertyName = SERVICE_CLASS.getName() + ":" + schemaLanguage; in _newFactory()
223 sf = loadFromServicesFile(schemaLanguage,resource.toExternalForm(), in _newFactory()
235 …if (schemaLanguage.equals(XMLConstants.W3C_XML_SCHEMA_NS_URI) || schemaLanguage.equals(W3C_XML_SCH… in _newFactory()
239 else if (schemaLanguage.equals(W3C_XML_SCHEMA11_NS_URI)) { in _newFactory()
[all …]
DSchemaFactoryLoader.java29 public abstract SchemaFactory newFactory(String schemaLanguage); in newFactory() argument