Class HtmlNode

    • Constructor Detail

      • HtmlNode

        public HtmlNode​(java.util.List<org.jsoup.nodes.Element> elements)
      • HtmlNode

        public HtmlNode()
    • Method Detail

      • getElements

        protected java.util.List<org.jsoup.nodes.Element> getElements()
      • smartContent

        public Selectable smartContent()
        Description copied from interface: Selectable
        select smart content with ReadAbility algorithm
        Returns:
        content
      • links

        public Selectable links()
        Description copied from interface: Selectable
        select all links
        Returns:
        all links
      • xpath

        public Selectable xpath​(java.lang.String xpath)
        Description copied from interface: Selectable
        select list with xpath
        Parameters:
        xpath - xpath
        Returns:
        new Selectable after extract
      • selectElements

        protected Selectable selectElements​(BaseElementSelector elementSelector)
        select elements
        Parameters:
        elementSelector - elementSelector
        Returns:
        result
      • $

        public Selectable $​(java.lang.String selector)
        Description copied from interface: Selectable
        select list with css selector
        Parameters:
        selector - css selector expression
        Returns:
        new Selectable after extract
      • $

        public Selectable $​(java.lang.String selector,
                            java.lang.String attrName)
        Description copied from interface: Selectable
        select list with css selector
        Parameters:
        selector - css selector expression
        attrName - attribute name of css selector
        Returns:
        new Selectable after extract
      • nodes

        public java.util.List<Selectable> nodes()
        Description copied from interface: Selectable
        get all nodes
        Returns:
        result