get

open operator override fun get(key: String): KpaElement?(source)

Resolves key to a KpaElement. A reserved text accessor (=ownText, =text, =wholeText, =wholeOwnText, =html, or =outerHtml) yields a KsoupTextAdapter built from the like-named Element method. Any other key resolves to the matching attribute or child tag.

Return

The KpaElement for that reserved accessor, attribute, or child tag, or null if none is present.

Parameters

key

The key to look up.