Uses of Interface
com.schibsted.spt.data.jslt.Function
-
Packages that use Function Package Description com.schibsted.spt.data.jslt The public API to the JSLT processor.com.schibsted.spt.data.jslt.impl This package contains implementation-internal interfaces and classes.com.schibsted.spt.data.jslt.parser The implementation of the JSLT parser. -
-
Uses of Function in com.schibsted.spt.data.jslt
Fields in com.schibsted.spt.data.jslt with type parameters of type Function Modifier and Type Field Description private java.util.Collection<Function>Parser. functionsMethods in com.schibsted.spt.data.jslt that return Function Modifier and Type Method Description static FunctionFunctionUtils. wrapStaticMethod(java.lang.String functionName, java.lang.String className, java.lang.String methodName)Create a JSLT function from a static Java method.static FunctionFunctionUtils. wrapStaticMethod(java.lang.String functionName, java.lang.String className, java.lang.String methodName, java.lang.Class[] paramTypes)Create a JSLT function from a static Java method.Method parameters in com.schibsted.spt.data.jslt with type arguments of type Function Modifier and Type Method Description static ExpressionParser. compile(java.io.File jslt, java.util.Collection<Function> functions)Compile the given JSLT file with the given predefined functions.static ExpressionParser. compile(java.lang.String source, java.io.Reader reader, java.util.Collection<Function> functions)Compile JSLT expression from the Reader.static ExpressionParser. compileResource(java.lang.String jslt, java.util.Collection<Function> functions)Load and compile JSLT expression from the classpath with the given extension functions.static ExpressionParser. compileString(java.lang.String jslt, java.util.Collection<Function> functions)Compile JSLT expression given as an inline string with the given extension functions.ParserParser. withFunctions(java.util.Collection<Function> theseFunctions)Create a new Parser with the given extension functions.Constructor parameters in com.schibsted.spt.data.jslt with type arguments of type Function Constructor Description Parser(java.lang.String source, java.io.Reader reader, java.util.Collection<Function> functions, ResourceResolver resolver, java.util.Map<java.lang.String,Module> modules, JsonFilter filter) -
Uses of Function in com.schibsted.spt.data.jslt.impl
Fields in com.schibsted.spt.data.jslt.impl declared as Function Modifier and Type Field Description private FunctionFunctionExpression. functionFields in com.schibsted.spt.data.jslt.impl with type parameters of type Function Modifier and Type Field Description private java.util.Collection<Function>ParseContext. extensionsstatic java.util.Map<java.lang.String,Function>BuiltinFunctions. functionsprivate java.util.Map<java.lang.String,Function>ExpressionImpl. functions(package private) java.util.Map<java.lang.String,Function>ModuleImpl. functionsprivate java.util.Map<java.lang.String,Function>ParseContext. functionsMethods in com.schibsted.spt.data.jslt.impl that return Function Modifier and Type Method Description FunctionExpressionImpl. getFunction(java.lang.String name)FunctionParseContext. getFunction(java.lang.String name)Methods in com.schibsted.spt.data.jslt.impl that return types with arguments of type Function Modifier and Type Method Description java.util.Map<java.lang.String,Function>ParseContext. getDeclaredFunctions()java.util.Collection<Function>ParseContext. getExtensions()Methods in com.schibsted.spt.data.jslt.impl with parameters of type Function Modifier and Type Method Description voidParseContext. addDeclaredFunction(java.lang.String name, Function function)voidFunctionExpression. resolve(Function function)Constructor parameters in com.schibsted.spt.data.jslt.impl with type arguments of type Function Constructor Description ExpressionImpl(LetExpression[] lets, java.util.Map<java.lang.String,Function> functions, ExpressionNode actual)ModuleImpl(java.util.Map<java.lang.String,Function> functions)ParseContext(java.util.Collection<Function> extensions, java.lang.String source, ResourceResolver resolver, java.util.Map<java.lang.String,Module> namedModules, java.util.List<JstlFile> files, PreparationContext preparationContext, JsonFilter objectFilter) -
Uses of Function in com.schibsted.spt.data.jslt.parser
Method parameters in com.schibsted.spt.data.jslt.parser with type arguments of type Function Modifier and Type Method Description private static ExpressionImplParserImpl. compileImport(java.util.Collection<Function> functions, ParseContext parent, java.lang.String jslt)
-