Element element = iterator.next();
String name = element.getNodeName();
if (PROPERTY_ELEMENT.equals(name)) {
parseProperty(config, element);
} else if (COMET_ELEMENT.equals(name)) {
CometMetadata cometConfig = this.cometParser.parse(element);
config.addCometMetadata(cometConfig);
} else if (TIMEOUT_ELEMENT.equals(name)) {
parseTimeout(config, element);
}
}