if (attrs != null) {
Node versionAttr = attrs.getNamedItem(ATTR_VERSION);
Node configAttr = attrs.getNamedItem(ATTR_CONFIG);
if (versionAttr != null && configAttr != null) {
Target target = new Target(versionAttr.getNodeValue(),
configAttr.getNodeValue());
return target;
}
}
}