Class 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 Detail

      • JsoupHtmlDocumentResult

        public JsoupHtmlDocumentResult​(org.jsoup.nodes.Document document)
    • Method Detail

      • asDocument

        public org.jsoup.nodes.Document asDocument()
        Specified by:
        asDocument in interface HtmlDocumentResult<org.jsoup.nodes.Document,​org.jsoup.nodes.Element,​List<org.jsoup.nodes.Node>>
      • asDocumentText

        public String asDocumentText​(boolean pretty)
        Specified by:
        asDocumentText in interface HtmlDocumentResult<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:
        asElement in interface HtmlDocumentResult<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:
        asElementText in interface HtmlDocumentResult<org.jsoup.nodes.Document,​org.jsoup.nodes.Element,​List<org.jsoup.nodes.Node>>
      • asNodes

        public List<org.jsoup.nodes.Node> asNodes()
        Specified by:
        asNodes in interface HtmlDocumentResult<org.jsoup.nodes.Document,​org.jsoup.nodes.Element,​List<org.jsoup.nodes.Node>>
      • asNodesText

        public String asNodesText​(boolean pretty)
        Specified by:
        asNodesText in interface HtmlDocumentResult<org.jsoup.nodes.Document,​org.jsoup.nodes.Element,​List<org.jsoup.nodes.Node>>