getParserForType