/**
* {@inheritDoc}
*/
public void begin(String namespace, String name, Attributes attributes) throws Exception
{
DynaBean bean = _preparedModel.createBeanFor(name);
if (bean == null)
{
throw new DataTaskException("Unknown element "+name);
}
for (int idx = 0; idx < attributes.getLength(); idx++)
{
String attrName = attributes.getLocalName(idx);
String attrValue = attributes.getValue(idx);
Column column = _preparedModel.getColumnFor(name, attrName);
if (column == null)
{
throw new DataTaskException("Unknown attribute "+attrName+" of element "+name);
}
bean.set(column.getName(), attrValue);
}
DdlUtilsDataHandling.this._digester.push(bean);
}