Class ConfigXmlGenerator


  • public class ConfigXmlGenerator
    extends java.lang.Object
    The ConfigXmlGenerator is responsible for transforming a Config to a Hazelcast XML string.
    • Field Detail

      • MASK_FOR_SENSITIVE_DATA

        public static final java.lang.String MASK_FOR_SENSITIVE_DATA
        Mask to hide the sensitive values in configuration.
        See Also:
        Constant Field Values
    • 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
      • ConfigXmlGenerator

        public ConfigXmlGenerator​(boolean formatted,
                                  boolean maskSensitiveFields)
        Creates a ConfigXmlGenerator.
        Parameters:
        formatted - true if the XML should be formatted, false otherwise
        maskSensitiveFields - true if the sensitive fields (like passwords) should be masked in the output XML, false otherwise