void (String name, String nsPrefix, String nsURI, String systemID, int lineNr) { attributeHandler = null; if (depth == 1 && RelaxNgMetaDataContributor.RNG_NAMESPACE.equals(nsURI)) { if ("define".equals(name)) { attributeHandler = new NanoXmlBuilder() { @Override public void addAttribute(String key, String nsPrefix, String nsURI, String value, String type) { if ("name".equals(key) && (nsURI == null || nsURI.length() == 0) && value != null) { map.put(value, null); } } }; } } depth++; }