protected function setObjectPropFromNode($obj, $node, $except = array())
{
foreach ($node->attributes() as $name => $value) {
if (!in_array($name, $except)) {
if ($obj->canSetProperty($name)) {
$obj->{$name} = (string) $value;
} else {
throw new TSqlMapConfigurationException('sqlmap_invalid_property', $name, get_class($obj), $node, $this->getConfigFile());
}
}
}
}