Class HtmlToPlainText
java.lang.Object
org.eclipse.lemminx.extensions.xsd.contentmodel.HtmlToPlainText
HTML to plain-text. Uses jsoup to convert HTML input to lightly-formatted
plain-text. This is a fork of Jsoup's HtmlToPlainText
- Author:
- Jonathan Hedley, jonathan@hedley.net
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPlainText(org.jsoup.nodes.Element element) Format an Element to plain-text
-
Constructor Details
-
HtmlToPlainText
public HtmlToPlainText()
-
-
Method Details
-
getPlainText
Format an Element to plain-text- Parameters:
element- the root element to format- Returns:
- formatted text
-