private void initConfigure(Properties properties) { String applyChildren = (String) properties.get("applyChildren"); if (applyChildren != null) { conf.applyChildren = Boolean.parseBoolean(applyChildren); } else { conf.applyChildren = false; } String childrenKeys = (String) properties.get("childrenKeys"); if (childrenKeys != null) { for (String key : childrenKeys.split(",")) { conf.childrenKeys.add(key); } } String applyLayer = (String) properties.get("applyLayer"); if (applyLayer != null) { conf.applyLayer = Boolean.parseBoolean(applyLayer); } else { conf.applyLayer = false; } String layer = (String) properties.get("layer"); if (layer != null && layer.length() > 0) { conf.layer = Integer.parseInt(layer); } }