Org.Xml.Sax.Ext.DefaultHandler2.ResolveEntity Method
Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.

Syntax

[Android.Runtime.Register("resolveEntity", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;", "GetResolveEntity_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Org.Xml.Sax.InputSource ResolveEntity (string name, string publicId, string baseURI, string systemId)

Parameters

name
Identifies the external entity being resolved. Either "[dtd]" for the external subset, or a name starting with "%" to indicate a parameter entity, or else the name of a general entity. This is never null when invoked by a SAX2 parser.
publicId
The public identifier of the external entity being referenced (normalized as required by the XML specification), or null if none was supplied.
baseURI
The URI with respect to which relative systemIDs are interpreted. This is always an absolute URI, unless it is null (likely because the XMLReader was given an InputSource without one). This URI is defined by the XML specification to be the one associated with the "<" starting the relevant declaration.
systemId
The system identifier of the external entity being referenced; either a relative or absolute URI. This is never null when invoked by a SAX2 parser; only declared entities, and any external subset, are resolved by such parsers.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Org.Xml.Sax.SAXExceptionAny SAX exception, possibly wrapping another exception.
Java.IO.IOExceptionProbably indicating a failure to create a new InputStream or Reader, or an illegal URL.

Remarks

Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI. Note that because the older Org.Xml.Sax.Helpers.DefaultHandler.ResolveEntity(string, System.String), method is overridden to call this one, this method may sometimes be invoked with null name and baseURI, and with the systemId already absolutized.

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax.Ext
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1