1 package org.exoplatform.services.xml.querying; 2 3 import java.io.IOException ; 4 import java.io.InputStream ; 5 6 public interface XMLQuery { 7 11 void execute() throws InvalidSourceException, QueryRunTimeException; 12 13 14 17 void prepare( Statement statement, Object resourceContext ) throws InvalidSourceException; 18 19 22 void prepare( Statement statement ) throws InvalidSourceException; 23 24 29 void prepareNext( Statement statement ) throws InvalidSourceException; 30 31 34 void serialize() throws IOException , InvalidDestinationException; 35 36 void setDestination(String destination); 37 38 XMLData getInput(); 39 40 void setInput(XMLData input); 41 42 void setInputStream(InputStream inputStream) throws InvalidSourceException; 43 44 XMLData getResult(); 45 46 void setResult(XMLData result); 47 48 } 49 | Popular Tags |