com.hazelcast.config
Class ConfigXmlGenerator

java.lang.Object
  extended by com.hazelcast.config.ConfigXmlGenerator

public class ConfigXmlGenerator
extends Object

The ConfigXmlGenerator is responsible for transforming a Config to a Hazelcast XML string.


Constructor Summary
ConfigXmlGenerator()
          Creates a ConfigXmlGenerator that will format the code.
ConfigXmlGenerator(boolean formatted)
          Creates a ConfigXmlGenerator.
 
Method Summary
 String generate(Config config)
          Generates the XML string based on some Config.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigXmlGenerator

public ConfigXmlGenerator()
Creates a ConfigXmlGenerator that will format the code.


ConfigXmlGenerator

public ConfigXmlGenerator(boolean formatted)
Creates a ConfigXmlGenerator.

Parameters:
formatted - true if the XML should be formatted, false otherwise.
Method Detail

generate

public String generate(Config config)
Generates the XML string based on some Config.

Parameters:
config - the configuration.
Returns:
the XML string.


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.