final AttributeDef attrDef =
createDCAttribute(safeElementName, attrParent, getTypeMapper().getJavaType(simpleType));
addAttributeProperties(attrDef, element, getTypeMapper().getMappableType(simpleType), leafNodeType);
}
} else if (type instanceof XSDComplexType) { // complexType (niet anyType) als accessor met structure maken
final XSDComplexType complexType = (XSDComplexType) type;
final AccessorDef accessorDef =
createDCAccessor(safeElementName, parent, collection, SCALAR_COLLECTION_FALSE);
addAccessorProperties(accessorDef, element);
final MovableStructureDef structDef =
resolveComplexType(complexType, accessorDef); // maak StructureDefinition