Org.Xml.Sax.Ext.IAttributes2.IsDeclared Method
Returns false unless the attribute was declared in the DTD.

Syntax

[Android.Runtime.Register("isDeclared", "(Ljava/lang/String;)Z", "GetIsDeclared_Ljava_lang_String_Handler:Org.Xml.Sax.Ext.IAttributes2Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsDeclared (string qName)

Parameters

qName
The XML qualified (prefixed) name.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionWhen the supplied name does not identify an attribute.

Remarks

Returns false unless the attribute was declared in the DTD. This helps distinguish two kinds of attributes that SAX reports as CDATA: ones that were declared (and hence are usually valid), and those that were not (and which are never valid).

[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