Here you can find the source of sanitizeTextAsDomId(final String text)
public static String sanitizeTextAsDomId(final String text)
//package com.java2s; //License from project: Apache License public class Main { public static String sanitizeTextAsDomId(final String text) { //TODO: Full implementation return text.toLowerCase().replace(" ", "-"); }/* ww w.java 2 s . c o m*/ }