public static String encodeXMLEntityQuote(final String content) {
		StringBuffer encoded = new StringBuffer(content);
		replaceAll(encoded,"amp","&#38;#38;");
		replaceAll(encoded,"apos","&#39;");
		replaceAll(encoded,"<","&#38;#60;");
		replaceAll(encoded,"gt","&#62;");
		replaceAll(encoded,"quot","&#34;");
		return encoded.toString();
	}
public static String encodeXMLEntityQuote ( final String content ) { StringBuffer encoded = new StringBuffer ( content ) ; replaceAll ( encoded , "amp" , "&#38;#38;" ) ; replaceAll ( encoded , "apos" , "&#39;" ) ; replaceAll ( encoded , "<" , "&#38;#60;" ) ; replaceAll ( encoded , "gt" , "&#62;" ) ; replaceAll ( encoded , "quot" , "&#34;" ) ; return encoded . toString ( ) ; }
return a string appropriate for inclusion as an XML tag
@param content to encode
@return encoded content
@deprecated use getFormatter().escapeHtml(String)