I think that "locking up foreigners" nationalism is more trumps flavour than "trade with all, allies with none" etc.
He's very good at convincing people he supports their ideological position when he's really just using it to justify what he wants to do right now for his own reasons and will drop it the second it's not useful. That whys he's anti China until he has to actually take an action on China or exporting jobs or crime and punishment etc. :(