Package org.apache.juneau.svl
Class MultipartVar
java.lang.Object
org.apache.juneau.svl.Var
org.apache.juneau.svl.SimpleVar
org.apache.juneau.svl.MultipartVar
- Direct Known Subclasses:
IfVar,LenVar,LocalizationVar,PatternExtractVar,PatternMatchVar,PatternReplaceVar,SubstringVar,SwitchVar
Interface for the resolution of vars that consist of a comma-delimited list.
Example:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(VarResolverSession session, String s) The interface that needs to be implemented for subclasses ofSimpleVar.abstract Stringresolve(VarResolverSession session, String[] args) The interface that needs to be implemented for this interface.Methods inherited from class org.apache.juneau.svl.Var
allowNested, allowRecurse, canResolve, doResolve, getName
-
Constructor Details
-
MultipartVar
Constructor.- Parameters:
name- The name of this variable.
-
-
Method Details
-
resolve
Description copied from class:VarThe interface that needs to be implemented for subclasses ofSimpleVar. -
resolve
The interface that needs to be implemented for this interface.- Parameters:
session- The session object used for a single instance of a string resolution.args- The arguments inside the variable.- Returns:
- The resolved variable.
-