com.hazelcast.config
Class AbstractXmlConfigHelper

java.lang.Object
  extended by com.hazelcast.config.AbstractXmlConfigHelper
Direct Known Subclasses:
AbstractHazelcastBeanDefinitionParser.SpringXmlBuilderHelper, XmlClientConfigBuilder, XmlConfigBuilder

public abstract class AbstractXmlConfigHelper
extends Object

Contains Hazelcast Xml Configuration helper methods and variables.


Nested Class Summary
static class AbstractXmlConfigHelper.IterableNodeList
          Iterator for NodeList
 
Field Summary
protected  boolean domLevel3
           
 
Constructor Summary
AbstractXmlConfigHelper()
           
 
Method Summary
protected  void appendToken(StringBuilder builder, StringBuilder token)
           
protected  boolean checkTrue(String value)
           
 String cleanNodeName(Node node)
           
static String cleanNodeName(String nodeName)
           
protected  void fillDataSerializableFactories(Node node, SerializationConfig serializationConfig)
           
protected  void fillNativeMemoryConfig(Node node, NativeMemoryConfig nativeMemoryConfig)
           
protected  void fillPortableFactories(Node node, SerializationConfig serializationConfig)
           
protected  void fillProperties(Node node, Properties properties)
           
protected  void fillSerializers(Node node, SerializationConfig serializationConfig)
           
protected  String getAttribute(Node node, String attName)
           
protected  int getIntegerValue(String parameterName, String value, int defaultValue)
           
protected  long getLongValue(String parameterName, String value, long defaultValue)
           
protected  String getTextContent(Node node)
           
protected  boolean hasTextContent(Node node)
           
protected  SerializationConfig parseSerialization(Node node)
           
protected  SocketInterceptorConfig parseSocketInterceptorConfig(Node node)
           
protected  String xmlToJavaName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domLevel3

protected boolean domLevel3
Constructor Detail

AbstractXmlConfigHelper

public AbstractXmlConfigHelper()
Method Detail

xmlToJavaName

protected String xmlToJavaName(String name)

appendToken

protected void appendToken(StringBuilder builder,
                           StringBuilder token)

getTextContent

protected String getTextContent(Node node)

hasTextContent

protected final boolean hasTextContent(Node node)

cleanNodeName

public final String cleanNodeName(Node node)

cleanNodeName

public static String cleanNodeName(String nodeName)

checkTrue

protected boolean checkTrue(String value)

getIntegerValue

protected int getIntegerValue(String parameterName,
                              String value,
                              int defaultValue)

getLongValue

protected long getLongValue(String parameterName,
                            String value,
                            long defaultValue)

getAttribute

protected String getAttribute(Node node,
                              String attName)

parseSocketInterceptorConfig

protected SocketInterceptorConfig parseSocketInterceptorConfig(Node node)

fillProperties

protected void fillProperties(Node node,
                              Properties properties)

parseSerialization

protected SerializationConfig parseSerialization(Node node)

fillDataSerializableFactories

protected void fillDataSerializableFactories(Node node,
                                             SerializationConfig serializationConfig)

fillPortableFactories

protected void fillPortableFactories(Node node,
                                     SerializationConfig serializationConfig)

fillSerializers

protected void fillSerializers(Node node,
                               SerializationConfig serializationConfig)

fillNativeMemoryConfig

protected void fillNativeMemoryConfig(Node node,
                                      NativeMemoryConfig nativeMemoryConfig)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.