|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.agilecoders.wicket.jquery.util.Strings2
public final class Strings2
helper class to handle string interaction
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String nullToEmpty(String value)
value - string value to transform to an empty string if it's null
public static CharSequence getMarkupId(org.apache.wicket.Component component)
component - the component which markup id should be return
public static CharSequence escapeMarkupId(CharSequence markupId)
markupId - the markup id to escape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||