w.write("<pattern>" + getPattern() + "</pattern>");
String pattern = convertXML(getPattern()); w.write("<pattern>" + pattern + "</pattern>");
	public void toXML(Writer w) throws IOException	{		w.write("<filter>");		w.write("<pattern>" + getPattern() + "</pattern>");		w.write("<caseSensitive>" + isCaseSensitive() + "</caseSensitive>");		w.write("<contains>" + getContains() + "</contains>");		for (Iterator iter = m_actions.iterator(); iter.hasNext();) {            FilterAction action = (FilterAction) iter.next();            action.toXML(w);        }	        w.write("</filter>");	}