Org.Xml.Sax.Ext.DefaultHandler2.ElementDecl Method
Report an element type declaration.

Syntax

[Android.Runtime.Register("elementDecl", "(Ljava/lang/String;Ljava/lang/String;)V", "GetElementDecl_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void ElementDecl (string name, string model)

Parameters

name
The element type name.
model
The content model as a normalized string.

Exceptions

TypeReason
Org.Xml.Sax.SAXException

Remarks

Report an element type declaration.

The content model will consist of the string "EMPTY", the string "ANY", or a parenthesised group, optionally followed by an occurrence indicator. The model will be normalized so that all parameter entities are fully resolved and all whitespace is removed,and will include the enclosing parentheses. Other normalization (such as removing redundant parentheses or simplifying occurrence indicators) is at the discretion of the parser.

[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