Modifier and Type | Class and Description |
---|---|
static class |
ConfigXmlGenerator.XmlGenerator
Utility class to build xml using a
StringBuilder . |
Modifier and Type | Field and Description |
---|---|
protected static String |
MASK_FOR_SENSITIVE_DATA |
Constructor and Description |
---|
ConfigXmlGenerator()
Creates a ConfigXmlGenerator that will format the code.
|
ConfigXmlGenerator(boolean formatted)
Creates a ConfigXmlGenerator.
|
ConfigXmlGenerator(boolean formatted,
boolean maskSensitiveFields)
Creates a ConfigXmlGenerator.
|
Modifier and Type | Method and Description |
---|---|
String |
generate(Config config)
Generates the XML string based on some Config.
|
protected static final String MASK_FOR_SENSITIVE_DATA
public ConfigXmlGenerator()
public ConfigXmlGenerator(boolean formatted)
formatted
- true
if the XML should be formatted, false
otherwisepublic ConfigXmlGenerator(boolean formatted, boolean maskSensitiveFields)
formatted
- true
if the XML should be formatted, false
otherwisemaskSensitiveFields
- true
if the sensitive fields (like passwords) should be masked in the
output XML, false
otherwiseCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.