Share via


DocumentBuilder.SetEntityResolver(IEntityResolver) Method

Definition

Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed.

[Android.Runtime.Register("setEntityResolver", "(Lorg/xml/sax/EntityResolver;)V", "GetSetEntityResolver_Lorg_xml_sax_EntityResolver_Handler")]
public abstract void SetEntityResolver (Org.Xml.Sax.IEntityResolver? er);
[<Android.Runtime.Register("setEntityResolver", "(Lorg/xml/sax/EntityResolver;)V", "GetSetEntityResolver_Lorg_xml_sax_EntityResolver_Handler")>]
abstract member SetEntityResolver : Org.Xml.Sax.IEntityResolver -> unit

Parameters

er
IEntityResolver

The EntityResolver to be used to resolve entities present in the XML document to be parsed.

Attributes

Remarks

Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed. Setting this to null will result in the underlying implementation using it's own default implementation and behavior.

Java documentation for javax.xml.parsers.DocumentBuilder.setEntityResolver(org.xml.sax.EntityResolver).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to