-
attributes
↔ LinkedHashMap<Object, String>
-
A map holding name, value pairs for attributes of the node.
getter/setter pairinherited
-
attributeSpans
→ LinkedHashMap<Object, FileSpan>?
-
If sourceSpan is available, this contains the spans of each attribute.
The span of an attribute is the entire attribute, including the name and
quotes (if any). For example, the span of "attr" in
<a attr="value">
would be the text attr="value"
.
no setterinherited
-
attributeValueSpans
→ LinkedHashMap<Object, FileSpan>?
-
If sourceSpan is available, this contains the spans of each attribute's
value. Unlike attributeSpans, this span will include only the value.
For example, the value span of "attr" in
<a attr="value">
would be the
text value
.
no setterinherited
-
children
→ List<Element>
-
latefinalinherited
-
classes
→ CssClassSet
-
The set of CSS classes applied to this element.
no setter
-
className
↔ String
-
getter/setter pair
-
endSourceSpan
↔ FileSpan?
-
The source span of the end tag this element, if it was created by the
HtmlParser. May be
null
if does not have an implicit end tag.
getter/setter pair
-
firstChild
→ Node?
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
↔ String
-
getter/setter pair
-
innerHtml
↔ String
-
Returns a fragment of HTML or XML that represents the element's contents.
Can be set, to replace the contents of the element with nodes parsed from
the given string.
getter/setter pair
-
localName
→ String?
-
The local name
of this element.
final
-
namespaceUri
→ String?
-
final
-
nextElementSibling
→ Element?
-
no setter
-
nodes
→ NodeList
-
A list of child nodes of the current node. This must
include all elements but not necessarily other node types.
latefinalinherited
-
nodeType
→ int
-
no setteroverride
-
outerHtml
→ String
-
Returns a fragment of HTML or XML that represents the element and its
contents.
no setter
-
parent
→ Element?
-
The parent element of this node.
no setterinherited
-
parentNode
↔ Node?
-
The parent of the current node (or null for the document node).
getter/setter pairinherited
-
previousElementSibling
→ Element?
-
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceSpan
↔ FileSpan?
-
The source span of this node, if it was created by the HtmlParser.
getter/setter pairinherited
-
text
↔ String
-
getter/setter pairoverride