public abstract static class JQuery.AbstractFunction extends Object implements JQuery.IFunction
JQuery.IFunction that allows you to chain
function parameters in a javascript safe way.| Modifier | Constructor and Description |
|---|---|
protected |
JQuery.AbstractFunction(String functionName)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameter(String parameter)
adds a new parameter to parameter list
|
String |
build() |
protected String |
buildParameters() |
protected char |
getSeparator() |
protected String |
toParameterValue(Boolean value)
transform given value to a javascript parameter value
|
protected String |
toParameterValue(Float value)
transform given value to a javascript parameter value
|
protected String |
toParameterValue(Integer value)
transform given value to a javascript parameter value
|
protected String |
toParameterValue(JQuery.JavaScriptInlineFunction value)
transform given value to a javascript parameter value
|
protected String |
toParameterValue(Long value)
transform given value to a javascript parameter value
|
protected String |
toParameterValue(Object value)
transform given value to a javascript parameter value
|
protected JQuery.AbstractFunction(String functionName)
functionName - The function name of this JQuery.IFunction implementationpublic String build()
build in interface JQuery.IFunctionprotected final char getSeparator()
protected String buildParameters()
protected final void addParameter(String parameter)
parameter - The parameter to addprotected final String toParameterValue(Object value)
value - The value to transformprotected final String toParameterValue(JQuery.JavaScriptInlineFunction value)
value - The value to transformprotected final String toParameterValue(Long value)
value - The value to transformprotected final String toParameterValue(Integer value)
value - The value to transformprotected final String toParameterValue(Float value)
value - The value to transformCopyright © 2013 agilecoders.de. All Rights Reserved.