klyn.io.xml.sax.SAXAttributes.isDeclared
method
public isDeclared(qName as String) as Boolean:
Description

Reports whether a qualified attribute name was declared in a DTD.

Parameters
ParameterDescription
qNameQualified attribute name.
Returns

True when declared.

Throws
  • ValueException if the attribute does not exist.
Example
declared = attrs.isDeclared("id")