public static void generateDefault(PrintWriter pw) {
    (new CacheXmlGenerator()).generate(pw);
  }
Writes a default cache.xml to pw.
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlGenerator.java