/**
*
*/
private WikiConfigurationObject parseConfigurationObject(Node node) {
WikiConfigurationObject configurationObject = new WikiConfigurationObject();
NodeList children = node.getChildNodes();
for (int j = 0; j < children.getLength(); j++) {
Node child = children.item(j);
if (child.getNodeName().equals(XML_PARAM_CLASS)) {
configurationObject.setClazz(XMLUtil.getTextContent(child));
} else if (child.getNodeName().equals(XML_PARAM_KEY)) {
configurationObject.setKey(XMLUtil.getTextContent(child));
} else if (child.getNodeName().equals(XML_PARAM_NAME)) {
configurationObject.setName(XMLUtil.getTextContent(child));
} else if (child.getNodeName().equals(XML_PARAM_STATE)) {
configurationObject.setState(XMLUtil.getTextContent(child));
} else {
logUnknownChild(node, child);
}
}
return configurationObject;