Package io.markdom.handler.html.jsoup
Class JsoupHtmlDocumentResult
- java.lang.Object
-
- io.markdom.handler.html.jsoup.JsoupHtmlDocumentResult
-
- All Implemented Interfaces:
HtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
public final class JsoupHtmlDocumentResult extends Object implements HtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
-
Constructor Summary
Constructors Constructor Description JsoupHtmlDocumentResult(org.jsoup.nodes.Document document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jsoup.nodes.DocumentasDocument()StringasDocumentText(boolean pretty)org.jsoup.nodes.ElementasElement(String tagName, io.markdom.util.Attributes attributes)StringasElementText(String tagName, io.markdom.util.Attributes attributes, boolean pretty)List<org.jsoup.nodes.Node>asNodes()StringasNodesText(boolean pretty)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.markdom.handler.html.HtmlDocumentResult
asDocumentText, asElement, asElementText, asElementText, asElementText, asNodesText
-
-
-
-
Method Detail
-
asDocument
public org.jsoup.nodes.Document asDocument()
- Specified by:
asDocumentin interfaceHtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
asDocumentText
public String asDocumentText(boolean pretty)
- Specified by:
asDocumentTextin interfaceHtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
asElement
public org.jsoup.nodes.Element asElement(String tagName, io.markdom.util.Attributes attributes)
- Specified by:
asElementin interfaceHtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
asElementText
public String asElementText(String tagName, io.markdom.util.Attributes attributes, boolean pretty)
- Specified by:
asElementTextin interfaceHtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
asNodes
public List<org.jsoup.nodes.Node> asNodes()
- Specified by:
asNodesin interfaceHtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
asNodesText
public String asNodesText(boolean pretty)
- Specified by:
asNodesTextin interfaceHtmlDocumentResult<org.jsoup.nodes.Document,org.jsoup.nodes.Element,List<org.jsoup.nodes.Node>>
-
-