public String normalizeTag ( String name ) { name = name . trim ( ) ; if ( ! preserveTagCase ) name = lowerCase ( name ) ; return name ; }
Normalizes a tag name according to the case preservation setting .