import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
//将string文本转换成html文本
Document doc = Jsoup.parse(ssoFile.getFileExpand());
for(Element el:links){
System.out.println(el.text()+"\n");
if(el.text().equals("责任人(签名):")){
el.append(img);
}
}
//获得所有p标签
Elements links = doc.getElementsByTag("p");
//将文本文本转换成string
doc.toString()