com.sun.xml.internal.xsom.util.DeferedCollection Java Examples

The following examples show how to use com.sun.xml.internal.xsom.util.DeferedCollection. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SCD.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #2
Source File: SCD.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #3
Source File: SCD.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #4
Source File: SCD.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #5
Source File: SCD.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #6
Source File: SCD.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #7
Source File: SCD.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #8
Source File: SCD.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #9
Source File: SCD.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #10
Source File: SCD.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #11
Source File: SCD.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #12
Source File: SCD.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #13
Source File: SCD.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #14
Source File: SCD.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}
 
Example #15
Source File: SCD.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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)));
}
 
Example #16
Source File: SCD.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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()));
}