//-- have unmarshaller perform any necessary clean up
unmarshaller.finish();
//-- annotation
if (SchemaNames.ANNOTATION.equals(name)) {
Annotation ann = ((AnnotationUnmarshaller)unmarshaller).getAnnotation();
_typeDefinition.setAnnotation(ann);
}
else if (SchemaNames.SIMPLE_TYPE.equals(name)) {
SimpleType type = (SimpleType) unmarshaller.getObject();
_typeDefinition.setBaseType(type);