Class ClientConfigXmlGenerator


  • public final class ClientConfigXmlGenerator
    extends java.lang.Object
    The ClientConfigXmlGenerator is responsible for transforming a ClientConfig to a Hazelcast Client XML string.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String generate​(ClientConfig clientConfig)
      Convenience for generate(ClientConfig, int), which generates the xml without any formatting.
      static java.lang.String generate​(ClientConfig clientConfig, int indent)
      Transforms the given ClientConfig to xml string formatting the output with given indent, -1 means no formatting.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generate

        public static java.lang.String generate​(ClientConfig clientConfig,
                                                int indent)
        Transforms the given ClientConfig to xml string formatting the output with given indent, -1 means no formatting.