org.gcube.informationsystem.collector.impl.xmlstorage.exist
Class XQuery

java.lang.Object
  extended by org.gcube.informationsystem.collector.impl.xmlstorage.exist.XQuery

public class XQuery
extends java.lang.Object

XQuery to be executed


Constructor Summary
XQuery(java.io.FileReader file)
           
XQuery(java.lang.String xquery)
           
 
Method Summary
 ResourceSet execute(Collection col)
          Executes the query on the given base collection
 java.lang.String toString()
          Returns the xquery string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQuery

public XQuery(java.lang.String xquery)

XQuery

public XQuery(java.io.FileReader file)
       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

toString

public java.lang.String toString()
Returns the xquery string

Overrides:
toString in class java.lang.Object

execute

public ResourceSet execute(Collection col)
                    throws java.lang.Exception
Executes the query on the given base collection

Parameters:
col -
Throws:
java.lang.Exception