void (AntDomPresetDef presetdef) { ProgressManager.checkCanceled(); final String customTagName = presetdef.getName().getStringValue(); if (customTagName != null) { final String nsUri = presetdef.getUri().getStringValue(); addCustomDefinition(presetdef, customTagName, nsUri, ClassProvider.EMPTY); } }