| 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 |
|---|---|
protected void |
factoryWithPropertiesXmlGenerator(ConfigXmlGenerator.XmlGenerator gen,
String elementName,
AbstractFactoryWithPropertiesConfig<?> factoryWithProps) |
String |
generate(Config config)
Generates the XML string based on some Config.
|
protected void |
securityRealmGenerator(ConfigXmlGenerator.XmlGenerator gen,
String name,
RealmConfig c) |
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 otherwisepublic String generate(Config config)
config - the configurationprotected void securityRealmGenerator(ConfigXmlGenerator.XmlGenerator gen, String name, RealmConfig c)
protected void factoryWithPropertiesXmlGenerator(ConfigXmlGenerator.XmlGenerator gen, String elementName, AbstractFactoryWithPropertiesConfig<?> factoryWithProps)
Copyright © 2021 Hazelcast, Inc.. All rights reserved.