@Transformer
    public static RawData escapeXML(Object o) {
        if (null == o) return RawData.NULL;
        if (o instanceof RawData)
            return (RawData) o;
        return new RawData(_escapeXML(o.toString()));
    }
@ Transformer public static RawData escapeXML ( Object o ) { if ( null == o ) return RawData . NULL ; if ( o instanceof RawData ) return ( RawData ) o ; return new RawData ( _escapeXML ( o . toString ( ) ) ) ; }
Return a {@link org.rythmengine.utils.RawData} type wrapper of
an object with XML escaping
<p/>
<p>Object is {@link #toString(Object) converted to String} before escaping</p>
<p/>
<p>After the object get escaped, the output string is safe to put inside a XML
attribute
@param o
@return XML escaped data