@Override
    public void startElement(String s, 
            String s1, 
            String elementName,
            Attributes attributes) throws SAXException
    {
        if (elementName.equalsIgnoreCase("bulgarian"))
        {
            cyrillic = true;
        }
        
        if (elementName.equalsIgnoreCase("english"))
        {
            cyrillic = false;
        }
        
        if (elementName.equalsIgnoreCase("data"))
        {
            data = true;
        }
        
        if (elementName.equalsIgnoreCase("alphabet"))
        {
            alphabet = true;
        }
        
        if (elementName.equalsIgnoreCase("WordCollection"))
        {
            wordCollection = new WordCollection(attributes.getValue("title"));
        }
        
        if (elementName.equalsIgnoreCase("Word"))
        {
            word = new Word();
        }
        
        if (elementName.equalsIgnoreCase("Letter"))
        {
            letter = new Letter();
        }
    }