Java String Sanitize sanitizeTextAsDomId(final String text)

Here you can find the source of sanitizeTextAsDomId(final String text)

Description

sanitize Text As Dom Id

License

Apache License

Declaration

public static String sanitizeTextAsDomId(final String text) 

Method Source Code

//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*/
}

Related

  1. sanitizeStringAsLiteral(String literal)
  2. sanitizeStringForXPath(String text)
  3. sanitizeStringLiteral(String inputString)
  4. sanitizeSuiteName(String name)
  5. sanitizeTag(String s)
  6. sanitizeTimezones(String s)
  7. sanitizeTokenString(final String tokenString)
  8. sanitizeToLineFeed(CharSequence string)
  9. sanitizeToLong(String origMSISDN)