public void startElement(String uri, String localName, String name,
            Attributes atts) throws SAXException {
        if ("http://dmoz.org/rdf" == uri) {
            if ("Topic" == localName) {
                String id = atts.getValue("http://www.w3.org/TR/RDF/", "id");
                if (id != null && !id.startsWith("Top/Adult")) {
                    inCollectableTopic = true;
                }
            } else if (inCollectableTopic && "link" == localName) {
                String resource = atts.getValue("http://www.w3.org/TR/RDF/",
                        "resource");
                if (resource != null) {
                    try {
                        IRI iri = fac.create(resource);
                        String u = iri.toASCIIString();
                        byte[] md5 = md.digest(u.getBytes("utf-8"));
                        String md5str = toHexString(md5);
                        theMap.put(md5str, u);
                    } catch (Exception e) {

                    }
                }
            }
        }
    }
@see org.xml.sax.ContentHandler#characters(char[], int, int)
resources/examples/research-src/nu/validator/dmozdl/DmozHandler.java