Java源码示例:com.sun.xml.internal.xsom.util.DeferedCollection
示例1
/**
* 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)));
}
示例2
/**
* 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()));
}
示例3
/**
* 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)));
}
示例4
/**
* 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()));
}
示例5
/**
* 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)));
}
示例6
/**
* 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()));
}
示例7
/**
* 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)));
}
示例8
/**
* 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()));
}
示例9
/**
* 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)));
}
示例10
/**
* 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()));
}
示例11
/**
* 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)));
}
示例12
/**
* 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()));
}
示例13
/**
* 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)));
}
示例14
/**
* 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()));
}
示例15
/**
* 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)));
}
示例16
/**
* 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()));
}