Attributes
interface in package org.xml.sax

    public interface Attributes:

Attributes

Namespace-aware SAX2 attribute list.

Attribute values are valid only during the `startElement` callback that receives this object.

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

attrs as Attributes = null if attrs is not null: print(attrs.getLength())

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | getIndex `getIndex(qName as String) as Int` | Returns the index for a qualified name.
public | getIndex `getIndex(uri as String, localName as String) as Int` | Returns the index for a Namespace URI and local name.
public | getLength `getLength() as Int` | Returns the number of attributes.
public | getLocalName `getLocalName(index as Int) as String` | Returns the local name at the given index.
public | getQName `getQName(index as Int) as String` | Returns the qualified name at the given index.
public | getType `getType(index as Int) as String` | Returns the attribute type at the given index.
public | getType `getType(qName as String) as String` | Returns the type for a qualified name.
public | getType `getType(uri as String, localName as String) as String` | Returns the type for a Namespace URI and local name.
public | getURI `getURI(index as Int) as String` | Returns the Namespace URI at the given index.
public | getValue `getValue(index as Int) as String` | Returns the attribute value at the given index.
public | getValue `getValue(qName as String) as String` | Returns the value for a qualified name.
public | getValue `getValue(uri as String, localName as String) as String` | Returns the value for a Namespace URI and local name.