*/
public static String generateCacheConfigurationText(CacheConfiguration cacheConfiguration) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
PrintWriter out = new PrintWriter(baos);
XMLGeneratorVisitor configGenerator = new XMLGeneratorVisitor(out);
configGenerator.disableOutputBehavior(OutputBehavior.OUTPUT_OPTIONAL_ATTRIBUTES_WITH_DEFAULT_VALUES);
visitCacheConfiguration(cacheConfiguration, configGenerator);
out.flush();
out.close();
return baos.toString();
}