java Example
isSchemaLanguageSupported(String)
java Example
http\://www.w3.org/2001/XMLSchema=org.acme.foo.XSSchemaFactory
- schemaLanguage
- Specifies the schema language which the returned SchemaFactory will understand. See for the possible values.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException If no implementation of the schema language is available. Java.Lang.NullPointerException If the schemaLanguage parameter is null.
java Example
isSchemaLanguageSupported(String)
java Example
http\://www.w3.org/2001/XMLSchema=org.acme.foo.XSSchemaFactory
Lookup an implementation of the SchemaFactory that supports the specified schema language and return it.
To find a SchemaFactory object for a given schema language, this method looks the following places in the following order where "the class loader" refers to the context class loader:
The class loader is asked for service provider provider-configuration files matching javax.xml.validation.SchemaFactory in the resource directory META-INF/services. See the JAR File Specification for file format and parsing rules. Each potential service provider is required to implement the method:
If everything fails, Java.Lang.IllegalArgumentException will be thrown.
Tip for Trouble-shooting:
See Java.Util.Properties.Load(System.IO.Stream) for exactly how a property file is parsed. In particular, colons ':' need to be escaped in a property file, so make sure schema language URIs are properly escaped in it. For example: