Java HTML Jsoup Element randomElement()

Here you can find the source of randomElement()

Description

random Element

License

Open Source License

Declaration

public static Element randomElement() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import org.jsoup.Jsoup;

import org.jsoup.nodes.Element;

public class Main {
    public static Element randomElement() {
        return Jsoup.parse("<p>text</p>");
    }/* ww  w  .  ja v  a  2s .  com*/
}

Related

  1. isEmptyElement(Node node)
  2. markAll(Elements tags)
  3. markChildren(Element tag, final String color)
  4. printNode(Element root)
  5. processCheck(Element ele, Element parent, String dict)
  6. replaceHtml(Node element)
  7. sameTagElNums(Element e)
  8. setAttribute(Element e, String key, String value)
  9. stripAttribute(Element body, String attribute)