Code Refactoring.
Implemented new Java 7 Feature (switch with strings)
Authored by: wellgis 2013-06-25
Parent: [r297]
Child: [r299]