Class VCBinding
java.lang.Object
de.uplanet.lucy.server.auxiliaries.VCBinding
@VelocityCallable("instance")
@VelocityVariable("Binding")
public final class VCBinding
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValueAsString
(String p_strBinding) getValueAsString
(String p_strBinding, String p_fallback) boolean
boolean
isValueAvailable
(String p_strBinding)
-
Constructor Details
-
VCBinding
public VCBinding(de.uplanet.lucy.server.binding.IBinding p_binding)
-
-
Method Details
-
getValue
- Parameters:
p_strBinding
- The binding key- Returns:
- Returns the value for the binding.
null
if no value is available for the given binding key
-
getValue
- Parameters:
p_strBinding
- The binding key- Returns:
- Returns the value for the binding.
p_fallback
if no value is available for the given binding key
-
getValueAsString
- Parameters:
p_strBinding
- The binding key- Returns:
- Returns the string value for the binding.
null
if no value is available for the given binding key
-
getValueAsString
- Parameters:
p_strBinding
- The binding key- Returns:
- Returns the string value for the binding.
p_fallback
if no value is available for the given binding key
-
isValueAvailable
- Parameters:
p_strBinding
- The binding key- Returns:
- Returns
true
if a value is available and exists for the binding otherwisefalse
-
hasValue
- Parameters:
p_strBinding
- The binding key- Returns:
- Returns
true
if a value is available and a value exists for the binding otherwisefalse
-