Javax.Xml.Validation.Validator.ResourceResolver Property
Gets the current Org.W3c.Dom.LS.ILSResourceResolver set to this Javax.Xml.Validation.Validator.

Syntax

[get: Android.Runtime.Register("getResourceResolver", "()Lorg/w3c/dom/ls/LSResourceResolver;", "GetGetResourceResolverHandler")]
[set: Android.Runtime.Register("setResourceResolver", "(Lorg/w3c/dom/ls/LSResourceResolver;)V", "GetSetResourceResolver_Lorg_w3c_dom_ls_LSResourceResolver_Handler")]
public abstract Org.W3c.Dom.LS.ILSResourceResolver ResourceResolver { get; set; }

See Also

Validator.ErrorHandler

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Gets the current Org.W3c.Dom.LS.ILSResourceResolver set to this Javax.Xml.Validation.Validator.

Set method documentation [Android Documentation]

Sets the Org.W3c.Dom.LS.ILSResourceResolver to customize resource resolution while in a validation episode. Javax.Xml.Validation.Validator uses a Org.W3c.Dom.LS.ILSResourceResolver when it needs to locate external resources while a validation, although exactly what constitutes "locating external resources" is up to each schema language. 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 DumbLSResourceResolver implements LSResourceResolver {
     public LSInput resolveResource(
         String publicId, String systemId, String baseURI) {

         return null; // always return null
     }
 }
 
If a Org.W3c.Dom.LS.ILSResourceResolver throws a Java.Lang.RuntimeException (or instances of its derived classes), then the Javax.Xml.Validation.Validator will abort the parsing and the caller of the validate method will receive the same Java.Lang.RuntimeException. When a new Javax.Xml.Validation.Validator object is created, initially this field is set to null.

Requirements

Namespace: Javax.Xml.Validation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8