if (propName != null && propName.equalsIgnoreCase("xmlRepresentation"))
if (propName != null && propName.equalsIgnoreCase("Chart::xmlRepresentation"))
    public ByteArrayOutputStream serialize(String propName)    {        if (propName != null && propName.equalsIgnoreCase("xmlRepresentation"))        {            try            {                return SerializerImpl.instance().asXml(cm, true);            }            catch (IOException e )            {                // TODO Auto-generated catch block                e.printStackTrace();                return new ByteArrayOutputStream();            }        }        return null;    }