Package com.hazelcast.config
Class ConfigXmlGenerator.XmlGenerator
java.lang.Object
com.hazelcast.config.ConfigXmlGenerator.XmlGenerator
- Enclosing class:
- ConfigXmlGenerator
public static final class ConfigXmlGenerator.XmlGenerator extends Object
Utility class to build xml using a
StringBuilder
.-
Constructor Summary
Constructors Constructor Description XmlGenerator(StringBuilder xml)
-
Method Summary
Modifier and Type Method Description ConfigXmlGenerator.XmlGenerator
appendLabels(Set<String> labels)
ConfigXmlGenerator.XmlGenerator
appendProperties(Map<String,? extends Comparable> props)
ConfigXmlGenerator.XmlGenerator
appendProperties(Properties props)
ConfigXmlGenerator.XmlGenerator
close()
ConfigXmlGenerator.XmlGenerator
node(String name, Object contents, Object... attributes)
ConfigXmlGenerator.XmlGenerator
nodeIfContents(String name, Object contents, Object... attributes)
ConfigXmlGenerator.XmlGenerator
open(String name, Object... attributes)
-
Constructor Details
-
Method Details
-
open
-
node
-
nodeIfContents
public ConfigXmlGenerator.XmlGenerator nodeIfContents(String name, Object contents, Object... attributes) -
close
-
appendLabels
-
appendProperties
-
appendProperties
-