Project

General

Profile

« Previous | Next » 

Revision 3463

Added by Jing Tao over 17 years ago

Add new query method which can specify qformat.

View differences:

src/edu/ucsb/nceas/metacat/client/Metacat.java
103 103
     */
104 104
    public Reader query(Reader xmlQuery) throws MetacatInaccessibleException,
105 105
                                                IOException;
106
    
107
    
108
    /**
109
     * Query the metacat document store with the given metacat-compatible
110
     * query document and qformat, and return the result set as a Reader.
111
     *
112
     * @param xmlQuery a Reader for accessing the XML version of the query
113
     * @param qformat the format of return doc. It can be xml, knb, lter and etal.
114
     * @return a Reader for accessing the result set
115
     */
116
    public Reader query(Reader xmlQuery, String qformat) throws MetacatInaccessibleException,
117
            IOException;
106 118

  
107 119
    /**
108 120
     * Insert an XML document into the repository.

Also available in: Unified diff