Attributes2
interface in package org.xml.sax.ext

    public interface Attributes2 extends Attributes:

Attributes
└ Attributes2

SAX2 extension for DTD-related attribute metadata.

`Attributes2` augments `Attributes` with declaration and source-presence information for each attribute reported in `ContentHandler.startElement`.

@example ```klyn import org.xml.sax.ext

attrs as Attributes2 = null if attrs is not null: print(attrs.isSpecified("id"))

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | isDeclared `isDeclared(index as Int) as Boolean` | Reports whether the indexed attribute was declared in the DTD.
public | isDeclared `isDeclared(qName as String) as Boolean` | Reports whether the qualified attribute name was declared in the DTD.
public | isDeclared `isDeclared(uri as String, localName as String) as Boolean` | Reports whether the Namespace/local-name attribute was declared in the DTD.
public | isSpecified `isSpecified(index as Int) as Boolean` | Reports whether the indexed attribute was specified in the source text.
public | isSpecified `isSpecified(qName as String) as Boolean` | Reports whether the qualified attribute name was specified.
public | isSpecified `isSpecified(uri as String, localName as String) as Boolean` | Reports whether the Namespace/local-name attribute was specified.

Methods inherited from Attributes: getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue