*
* @throws SAXException if there is a parsing error.
*/
protected void doneParsing() throws SAXException
{
dataSchemaDefinition = new DefaultDataSchemaDefinition();
for (int i = 0; i < handlers.size(); i++)
{
final XmlReadHandler handler = (XmlReadHandler) handlers.get(i);
final DataSchemaRule rule = (DataSchemaRule) handler.getObject();
dataSchemaDefinition.addRule(rule);