Here you can find the source of getActiveJob(Element element)
public static String getActiveJob(Element element)
//package com.java2s; //License from project: Apache License import org.jsoup.nodes.Element; public class Main { public static String getActiveJob(Element element) { if (element.select("dd.current-content").size() > 0) { return element.select("dd.current-content").get(0).text(); }//ww w . j a v a 2 s.co m return null; } }