org.xml.sax.ext.Attributes2.isDeclared
method
public isDeclared(uri as String, localName as String) as Boolean
Description

Reports whether the Namespace/local-name attribute was declared in the DTD.

Parameters
  • uri Namespace URI, or empty string.
  • localName Local attribute name.
Returns

True when the attribute was declared.

Example
declared = attrs.isDeclared("", "id")