}
public void process(final XmlParser xmlParser, final Attributes attributes) throws Exception {
String name = getNameAttribute(attributes);
Type type = new Type(name, getExtendsAttribute(attributes));
niftyXmlSchema.addType(name, type);
SubstitutionGroup substGroup = new SubstitutionGroup();
substGroup.add("element", new TypeProcessorElement(type));
substGroup.add("group", new TypeProcessorSubstitutionGroup(type));