Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.jet.xpath
Class NodeSetUtil

java.lang.Object
  extended by 
org.eclipse.jet.xpath.NodeSetUtil

public final class NodeSetUtil
extends java.lang.Object

Utility class for creating XPath NodeSets from Java collections and arrays.

Since:
0.9.0

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

asNodeSet

public static 
NodeSet asNodeSet(java.util.Collection collection)
Wrap a Java Collection as a JET XPath NodeSet.

Parameters:
collection - a non-null, but possibly empty collection
Returns:
a node set
Throws:
java.lang.NullPointerException - if collection is null

asNodeSet

public static 
NodeSet asNodeSet(java.lang.Object[] array)
Wrap a Java array as a JET XPath NodeSet.

Parameters:
array - a non-null, but possibly empty array.
Returns:
a node set
Throws:
java.lang.NullPointerException - if array is null

Copyright 2006 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire