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

Syntax

[Android.Runtime.Register("isDeclared", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsDeclared_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual bool IsDeclared (string uri, string localName)

Parameters

uri
The Namespace URI, or the empty string if the name has no Namespace URI.
localName
The attribute's local name.

Returns

Documentation for this section has not yet been entered.

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).

Remember that since DTDs do not "understand" namespaces, the namespace URI associated with an attribute may not have come from the DTD. The declaration will have applied to the attribute's qName.

[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