IDTDHandler.NotationDecl(String, String, String) Method

Definition

Receive notification of a notation declaration event.

[Android.Runtime.Register("notationDecl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetNotationDecl_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.Xml.Sax.IDTDHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void NotationDecl (string? name, string? publicId, string? systemId);
[<Android.Runtime.Register("notationDecl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetNotationDecl_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.Xml.Sax.IDTDHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member NotationDecl : string * string * string -> unit

Parameters

name
String

The notation name.

publicId
String

The notation's public identifier, or null if none was given.

systemId
String

The notation's system identifier, or null if none was given.

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Remarks

Receive notification of a notation declaration event.

It is up to the application to record the notation for later reference, if necessary; notations may appear as attribute values and in unparsed entity declarations, and are sometime used with processing instruction target names.

At least one of publicId and systemId must be non-null. If a system identifier is present, and it is a URL, the SAX parser must resolve it fully before passing it to the application through this event.

There is no guarantee that the notation declaration will be reported before any unparsed entities that use it.

Java documentation for org.xml.sax.DTDHandler.notationDecl(java.lang.String, 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

See also

  • <xref:Org.Xml.Sax.IDTDHandler.UnparsedEntityDecl(System.String%2c+System.String%2c+System.String%2c+System.String)>
  • IAttributes