Java Code Examples for org.apache.commons.lang.StringEscapeUtils.unescapeXml()

The following are Jave code examples for showing how to use unescapeXml() of the org.apache.commons.lang.StringEscapeUtils class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: Ins_fb_pictureSpider_WEB   File: EncodeUtils.java   View Source Code Vote up 4 votes
/**
 * Xml 解码.
 */
public static String xmlUnescape(String xmlEscaped) {
    return StringEscapeUtils.unescapeXml(xmlEscaped);
}
 
Example 2
Project: DWSurvey   File: EncodeUtils.java   View Source Code Vote up 4 votes
/**
 * Xml 解码.
 */
public static String xmlUnescape(String xmlEscaped) {
	return StringEscapeUtils.unescapeXml(xmlEscaped);
}
 
Example 3
Project: uflo   File: SequenceFlowParser.java   View Source Code Vote up 4 votes
protected String unescape(String str){
	if(StringUtils.isEmpty(str))return str;
	str=StringEscapeUtils.escapeXml(str);
	return StringEscapeUtils.unescapeXml(str);
}