Uses of Interface
com.schibsted.spt.data.jslt.Function
Packages that use Function
Package
Description
The public API to the JSLT processor.
This package contains implementation-internal interfaces and classes.
-
Uses of Function in com.schibsted.spt.data.jslt
Methods in com.schibsted.spt.data.jslt that return FunctionModifier and TypeMethodDescriptionstatic FunctionFunctionUtils.wrapStaticMethod(String functionName, String className, String methodName) Create a JSLT function from a static Java method.static FunctionFunctionUtils.wrapStaticMethod(String functionName, String className, String methodName, Class[] paramTypes) Create a JSLT function from a static Java method.Method parameters in com.schibsted.spt.data.jslt with type arguments of type FunctionModifier and TypeMethodDescriptionstatic ExpressionParser.compile(File jslt, Collection<Function> functions) Compile the given JSLT file with the given predefined functions.static ExpressionParser.compile(String source, Reader reader, Collection<Function> functions) Compile JSLT expression from the Reader.static ExpressionParser.compileResource(String jslt, Collection<Function> functions) Load and compile JSLT expression from the classpath with the given extension functions.static ExpressionParser.compileString(String jslt, Collection<Function> functions) Compile JSLT expression given as an inline string with the given extension functions.Parser.withFunctions(Collection<Function> theseFunctions) Create a new Parser with the given extension functions. -
Uses of Function in com.schibsted.spt.data.jslt.impl
Classes in com.schibsted.spt.data.jslt.impl that implement FunctionModifier and TypeClassDescriptionclassstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassclassclassRepresents a JSLT source code file loaded separately.classAn optimized version of contains(a, b) which is used when b is an array literal with a large number of values, so that a linear search becomes a performance drag.Fields in com.schibsted.spt.data.jslt.impl with type parameters of type FunctionMethods in com.schibsted.spt.data.jslt.impl that return FunctionModifier and TypeMethodDescriptionExpressionImpl.getFunction(String name) ParseContext.getFunction(String name) Methods in com.schibsted.spt.data.jslt.impl that return types with arguments of type FunctionModifier and TypeMethodDescriptionParseContext.getDeclaredFunctions()ParseContext.getExtensions()Methods in com.schibsted.spt.data.jslt.impl with parameters of type FunctionModifier and TypeMethodDescriptionvoidParseContext.addDeclaredFunction(String name, Function function) voidConstructor parameters in com.schibsted.spt.data.jslt.impl with type arguments of type FunctionModifierConstructorDescriptionExpressionImpl(LetExpression[] lets, Map<String, Function> functions, ExpressionNode actual) ModuleImpl(Map<String, Function> functions) ParseContext(Collection<Function> extensions, String source, ResourceResolver resolver, Map<String, Module> namedModules, List<JstlFile> files, PreparationContext preparationContext, JsonFilter objectFilter)