A class for selecting a specific node based on a key or a set of keys.
An instance of this class is initialized with the key of a node. It is also possible to concatenate multiple keys - e.g. if a sub key is to be constructed from another sub key. {@code NodeSelector} provides the{@code select()} method which evaluates the wrapped keys on a specified rootnode and returns the resulting unique target node. The class expects that the key(s) stored in an instance select exactly one target node. If this is not the case, result is null indicating that the selection criteria are not sufficient.
Implementation node: Instances of this class are immutable. They can be shared between arbitrary components.
@version $Id: NodeSelector.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|