DefaultHandler2.GetExternalSubset(String, String) Method

Definition

Tells the parser that if no external subset has been declared in the document text, none should be used.

[Android.Runtime.Register("getExternalSubset", "(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;", "GetGetExternalSubset_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Org.Xml.Sax.InputSource? GetExternalSubset (string? name, string? baseURI);
[<Android.Runtime.Register("getExternalSubset", "(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;", "GetGetExternalSubset_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member GetExternalSubset : string * string -> Org.Xml.Sax.InputSource
override this.GetExternalSubset : string * string -> Org.Xml.Sax.InputSource

Parameters

name
String

Identifies the document root element. This name comes from a DOCTYPE declaration (where available) or from the actual root element. The parameter is ignored.

baseURI
String

The document's base URI, serving as an additional hint for selecting the external subset. This is always an absolute URI, unless it is null because the XMLReader was given an InputSource without one. The parameter is ignored.

Returns

null (always).

Implements

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Probably indicating a failure to create a new InputStream or Reader, or an illegal URL.

Remarks

Tells the parser that if no external subset has been declared in the document text, none should be used.

Java documentation for org.xml.sax.ext.DefaultHandler2.getExternalSubset(java.lang.String, java.lang.String).

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