Documentation for this section has not yet been entered.
Get method documentation [Android Documentation]
Gets the current Org.W3c.Dom.LS.ILSResourceResolver set to this Javax.Xml.Validation.SchemaFactory.
Set method documentation [Android Documentation]
Sets the Org.W3c.Dom.LS.ILSResourceResolver to customize
resource resolution when parsing schemas.
Javax.Xml.Validation.SchemaFactory uses a Org.W3c.Dom.LS.ILSResourceResolver
when it needs to locate external resources while parsing schemas,
although exactly what constitutes "locating external resources" is
up to each schema language. For example, for W3C XML Schema,
this includes files <include>d or <import>ed,
and DTD referenced from schema files, etc.
Applications can call this method even during a Javax.Xml.Validation.Schema
is being parsed.
When the Org.W3c.Dom.LS.ILSResourceResolver is null, the implementation will
behave as if the following Org.W3c.Dom.LS.ILSResourceResolver is set:
java Example
class DumbDOMResourceResolver implements LSResourceResolver {
public LSInput resolveResource(
String publicId, String systemId, String baseURI) {
return null; // always return null
}
}