/** * @param includeDefaults set to false to cause generated xml to not have defaults values. */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema, boolean includeKeysValues, boolean includeDefaults) { (new CacheXmlGenerator(cache, useSchema, VERSION_LATEST, includeKeysValues, includeDefaults)).generate(pw); }
/** * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? As of 8.1 this value is ignored and always true. * @param includeDefaults set to false to cause generated xml to not have defaults values. */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema, boolean includeKeysValues, boolean includeDefaults) { (new CacheXmlGenerator(cache, true /*latest version always true*/, VERSION_LATEST, includeKeysValues, includeDefaults)).generate(pw); }
/** * Writes a default cache.xml to pw. */ public static void generateDefault(PrintWriter pw) { (new CacheXmlGenerator()).generate(pw); }
/** * Writes a default cache.xml to pw. */ private static void generateDefault(PrintWriter pw) { (new CacheXmlGenerator()).generate(pw); }
/** * Examines the given <code>Cache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema) { (new CacheXmlGenerator(cache, useSchema, VERSION_LATEST, true)).generate(pw); }
/** * Examines the given <code>ClientCache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? */ public static void generate(ClientCache cache, PrintWriter pw, boolean useSchema) { (new CacheXmlGenerator(cache, useSchema, VERSION_LATEST, true)).generate(pw); }
/** * Examines the given <code>ClientCache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? As of 8.1 this value is ignored and always true. */ public static void generate(ClientCache cache, PrintWriter pw, boolean useSchema) { (new CacheXmlGenerator(cache, true /*latest version always true*/, VERSION_LATEST, true)).generate(pw); }
/** * Examines the given <code>Cache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? As of 8.1 this value is ignored and always true. */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema) { (new CacheXmlGenerator(cache, true /*latest version always true*/, VERSION_LATEST, true)).generate(pw); }
/** * Examines the given <code>Cache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? As of 8.1 this value is ignored and always true. * @param includeKeysValues true if the xml should include keys and values * false otherwise */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema, boolean includeKeysValues) { (new CacheXmlGenerator(cache, true /*latest version always true*/, VERSION_LATEST, includeKeysValues)).generate(pw); } /**
/** * Examines the given <code>Cache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? * @param includeKeysValues true if the xml should include keys and values * false otherwise */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema, boolean includeKeysValues) { (new CacheXmlGenerator(cache, useSchema, VERSION_LATEST, includeKeysValues)).generate(pw); } /**
/** * Examines the given <code>ClientCache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? * @param version * The version of GemFire whose DTD/schema should be used in * the generated XML. See {@link #VERSION_4_0}. * * @since 6.5 */ public static void generate(ClientCache cache, PrintWriter pw, boolean useSchema, String version) { (new CacheXmlGenerator(cache, useSchema, version, true)).generate(pw); }
/** * Examines the given <code>ClientCache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? * @param includeKeysValues true if the xml should include keys and values * false otherwise */ public static void generate(ClientCache cache, PrintWriter pw, boolean useSchema, boolean includeKeysValues) { (new CacheXmlGenerator(cache, useSchema, VERSION_LATEST, includeKeysValues)).generate(pw); }
/** * Examines the given <code>ClientCache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? As of 8.1 this value is ignored and always true. * @param includeKeysValues true if the xml should include keys and values * false otherwise */ public static void generate(ClientCache cache, PrintWriter pw, boolean useSchema, boolean includeKeysValues) { (new CacheXmlGenerator(cache, true /*latest version always true*/, VERSION_LATEST, includeKeysValues)).generate(pw); }
/** * Examines the given <code>ClientCache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? For versions 8.1 or newer this should be true, * otherwise false. * @param version * The version of GemFire whose DTD/schema should be used in * the generated XML. See {@link #VERSION_4_0}. * * @since 6.5 */ public static void generate(ClientCache cache, PrintWriter pw, boolean useSchema, String version) { (new CacheXmlGenerator(cache, useSchema, version, true)).generate(pw); }
/** * Examines the given <code>Cache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? * @param version * The version of GemFire whose DTD/schema should be used in * the generated XML. See {@link #VERSION_4_0}. * * @since 4.0 */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema, String version) { (new CacheXmlGenerator(cache, useSchema, version, true)).generate(pw); }
/** * Examines the given <code>Cache</code> and from it generates XML * data that is written to the given <code>PrintWriter</code>. The * schema/dtd for the current version of GemFire is used. * * @param useSchema * Should the generated XML reference a schema (as opposed to * a DTD)? For versions 8.1 or newer this should be true, * otherwise false. * @param version * The version of GemFire whose DTD/schema should be used in * the generated XML. See {@link #VERSION_4_0}. * * @since 4.0 */ public static void generate(Cache cache, PrintWriter pw, boolean useSchema, String version) { (new CacheXmlGenerator(cache, useSchema, version, true)).generate(pw); }