mixinafSizzle::SElem
afSizzle::SElem
An abstraction around various Elem implementations.
- attr
abstract Str? attr(Str attrName)Returns
nullif attr is not defined.- attrs
Returns a map of attribute name / value pairs.
- children
abstract SElem[] children()Returns child Elems.
- fromXml
static new fromXml(XElem elem)Create a Elem from an XML XElem instance.
- name
abstract Str name()Returns the tag name.
- parent
abstract SElem? parent()Returns the parent tag.
- text
abstract Str text()Returns the tag text.