Module de.agilecoders.wicket.jquery
Class CharSequenceWrapper
java.lang.Object
de.agilecoders.wicket.jquery.util.CharSequenceWrapper
- All Implemented Interfaces:
CharSequence
cast given value to a
CharSequence and provides same interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) booleaninthashCode()intlength()subSequence(int start, int end) static CharSequencetransform given value to a javascript parameter valuestatic CharSequencetoParameterValue(Boolean value) transform given value to a javascript parameter valuestatic CharSequencetoParameterValue(Float value) transform given value to a javascript parameter valuestatic CharSequencetoParameterValue(Integer value) transform given value to a javascript parameter valuestatic CharSequencetoParameterValue(Long value) transform given value to a javascript parameter valuestatic CharSequencetoParameterValue(Object value) transform given value to a javascript parameter valuetoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
CharSequenceWrapper
Construct.- Parameters:
raw- the raw value
-
-
Method Details
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
hashCode
public int hashCode() -
equals
-
toParameterValue
transform given value to a javascript parameter value- Parameters:
value- The value to transform- Returns:
- value as string
-
toParameterValue
transform given value to a javascript parameter value- Parameters:
value- The value to transform- Returns:
- value as string
-
toParameterValue
transform given value to a javascript parameter value- Parameters:
value- The value to transform- Returns:
- value as string
-
toParameterValue
transform given value to a javascript parameter value- Parameters:
value- The value to transform- Returns:
- value as string
-
toParameterValue
transform given value to a javascript parameter value- Parameters:
value- The value to transform- Returns:
- value as string
-
toParameterValue
transform given value to a javascript parameter value- Parameters:
value- The value to transform- Returns:
- value as string
-