org.kuali.student.common.ui.client.util
Class DebugIdUtils

java.lang.Object
  extended by org.kuali.student.common.ui.client.util.DebugIdUtils

public class DebugIdUtils
extends Object


Constructor Summary
DebugIdUtils()
           
 
Method Summary
static String createWebDriverSafeDebugId(String debugId)
          Converts a String to a WebDriver safe debug ID by replacing all non-digit, non-letter (including Unicode characters) with a dash('-') character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugIdUtils

public DebugIdUtils()
Method Detail

createWebDriverSafeDebugId

public static String createWebDriverSafeDebugId(String debugId)
Converts a String to a WebDriver safe debug ID by replacing all non-digit, non-letter (including Unicode characters) with a dash('-') character. Please note that space characters (' ') will also be replaced by a dash character. This also strips the 'gwt-debug' prefix if it exists.

Parameters:
debugId - The existing debugId.
Returns:
The converted string debug ID.


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.