/** * Evaluates the SCD against the given set of context nodes and * returns the matched nodes. * * @param contextNodes * {@link XSComponent}s that represent the context node against * which {@link SCD} is evaluated. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(Collection<? extends XSComponent> contextNodes) { return new DeferedCollection<XSComponent>(select(contextNodes.iterator())); }
/** * Evaluates the SCD against the given set of context nodes and * returns the matched nodes. * * @param contextNodes * {@link XSComponent}s that represent the context node against * which {@link SCD} is evaluated. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(Collection<? extends XSComponent> contextNodes) { return new DeferedCollection<XSComponent>(select(contextNodes.iterator())); }
/** * Evaluates the SCD against the given set of context nodes and * returns the matched nodes. * * @param contextNodes * {@link XSComponent}s that represent the context node against * which {@link SCD} is evaluated. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(Collection<? extends XSComponent> contextNodes) { return new DeferedCollection<XSComponent>(select(contextNodes.iterator())); }
/** * Evaluates the SCD against the given set of context nodes and * returns the matched nodes. * * @param contextNodes * {@link XSComponent}s that represent the context node against * which {@link SCD} is evaluated. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(Collection<? extends XSComponent> contextNodes) { return new DeferedCollection<XSComponent>(select(contextNodes.iterator())); }
/** * Evaluates the SCD against the given set of context nodes and * returns the matched nodes. * * @param contextNodes * {@link XSComponent}s that represent the context node against * which {@link SCD} is evaluated. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(Collection<? extends XSComponent> contextNodes) { return new DeferedCollection<XSComponent>(select(contextNodes.iterator())); }
/** * Evaluates the SCD against the given context node and * returns the matched nodes. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(XSComponent contextNode) { return new DeferedCollection<XSComponent>(select(Iterators.singleton(contextNode))); }
/** * Evaluates the SCD against the given context node and * returns the matched nodes. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(XSComponent contextNode) { return new DeferedCollection<XSComponent>(select(Iterators.singleton(contextNode))); }
/** * Evaluates the SCD against the given context node and * returns the matched nodes. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(XSComponent contextNode) { return new DeferedCollection<XSComponent>(select(Iterators.singleton(contextNode))); }
/** * Evaluates the SCD against the given context node and * returns the matched nodes. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(XSComponent contextNode) { return new DeferedCollection<XSComponent>(select(Iterators.singleton(contextNode))); }
/** * Evaluates the SCD against the given context node and * returns the matched nodes. * * @return * could be empty but never be null. */ public final Collection<XSComponent> select(XSComponent contextNode) { return new DeferedCollection<XSComponent>(select(Iterators.singleton(contextNode))); }