public final class Strings2 extends Object
| Modifier and Type | Method and Description |
|---|---|
static CharSequence |
escapeMarkupId(CharSequence markupId)
Returns a markup id that is JQuery-safe and could be used as a selector.
|
static CharSequence |
getMarkupId(org.apache.wicket.Component component)
Returns a markup id that is JQuery-safe and could be used as a selector.
|
static String |
nullToEmpty(String value)
ensures a non null value.
|
public static String nullToEmpty(String value)
value - string value to transform to an empty string if it's nullpublic static CharSequence getMarkupId(org.apache.wicket.Component component)
component - the component which markup id should be returnpublic static CharSequence escapeMarkupId(CharSequence markupId)
markupId - the markup id to escapeCopyright © 2014. All Rights Reserved.