|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.xpath.NodeSetUtil
public final class NodeSetUtil
Utility class for creating XPath NodeSets from Java collections and arrays.
| Method Summary | |
|---|---|
static NodeSet |
asNodeSet(java.util.Collection collection)
Wrap a Java Collection as a JET XPath NodeSet. |
static NodeSet |
asNodeSet(java.lang.Object[] array)
Wrap a Java array as a JET XPath NodeSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NodeSet asNodeSet(java.util.Collection collection)
Collection as a JET XPath NodeSet.
collection - a non-null, but possibly empty collection
java.lang.NullPointerException - if collection is nullpublic static NodeSet asNodeSet(java.lang.Object[] array)
NodeSet.
array - a non-null, but possibly empty array.
java.lang.NullPointerException - if array is null
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||