Copyright© 2008-2022 Sitevision AB, all rights reserved.
T
- type of object to operate onV
- type of value to produce@FunctionalInterface public interface Resolver<T,V>
A resolver operates on an object and extracts/transforms/calculates a value of different type.
Note! This functional interface is conceptually equivalent (though the method names differ) with the
java.util.function.Function
interface that was introduced in Java 8.
See NodeResolverUtil
for predefined resolvers that operates on nodes
(i.e. Resolver<Node,?>
).
Modifier and Type | Method and Description |
---|---|
V |
resolve(T aObject)
Resolves a value from an object.
|
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.