this is Java. can't switch on strings. not in Java 5 anyway, which is what we use on the 5.0.x branch