public interface Attributes2 extends Attributes:
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"))
| Modifier and Type | Member | Description |
|---|---|---|
| public | isDeclared | Reports whether the indexed attribute was declared in the DTD. |
| public | isDeclared | Reports whether the qualified attribute name was declared in the DTD. |
| public | isDeclared | Reports whether the Namespace/local-name attribute was declared in the DTD. |
| public | isSpecified | Reports whether the indexed attribute was specified in the source text. |
| public | isSpecified | Reports whether the qualified attribute name was specified. |
| public | isSpecified | Reports whether the Namespace/local-name attribute was specified. |