ElementKt

public final class ElementKt
public final class ElementKt

Properties

Link copied to clipboard
private final static ElementAttributes attributes
private final static ElementAttributes attributes

Returns HTML attributes of this element.

Link copied to clipboard
private final static String innerHtml
private final static String innerHtml

Returns a string with the HTML content of this element, or an empty string if the element does not have inner HTML.

Link copied to clipboard
private final static String innerText
private final static String innerText

Returns a string with the content of the element and its descendants, or an empty string if this element does not have a content.

Link copied to clipboard
private final static String outerHtml
private final static String outerHtml

Returns a string with the HTML serialization of this element and its descendants.

Functions

Link copied to clipboard
Link copied to clipboard
public final String getInnerHtml()
public final String getInnerHtml()
Link copied to clipboard
public final String getInnerText()
public final String getInnerText()
Link copied to clipboard
public final String getOuterHtml()
public final String getOuterHtml()