1 22 23 package org.xquark.xml.xdbc; 24 25 import java.io.InputStream ; 26 import java.math.BigDecimal ; 27 import java.util.Date ; 28 import java.util.List ; 29 30 import javax.xml.namespace.QName ; 31 32 33 47 public interface PreparedXMLStatement extends XMLStatement { 48 49 50 51 52 53 54 63 public void setExternalVariable(String ns, String varName, String value) 64 throws XMLDBCException; 65 66 73 public void setExternalVariable(String varName, String value) 74 throws XMLDBCException; 75 76 87 public void setObject(String ns, String varName, Object value) 88 throws XMLDBCException; 89 90 99 public void setObject(String varName, Object value) 100 throws XMLDBCException; 101 102 112 public void setBigDecimal(String ns, String varName, BigDecimal value) 113 throws XMLDBCException; 114 115 123 public void setBigDecimal(String varName, BigDecimal value) 124 throws XMLDBCException; 125 126 137 public void setInputStream(String ns, String varName, InputStream value, int length) 138 throws XMLDBCException; 139 140 149 public void setInputStream(String varName, InputStream value, int length) 150 throws XMLDBCException; 151 152 161 public void setBytes(String ns, String varName, byte[] value) 162 throws XMLDBCException; 163 164 171 public void setBytes(String varName, byte[] value) 172 throws XMLDBCException; 173 174 183 public void setBoolean(String ns, String varName, boolean value) 184 throws XMLDBCException; 185 186 193 public void setBoolean(String varName, boolean value) 194 throws XMLDBCException; 195 196 205 public void setDate(String ns, String varName, Date value) 206 throws XMLDBCException; 207 208 215 public void setDate(String varName, Date value) 216 throws XMLDBCException; 217 218 227 public void setDouble(String ns, String varName, double value) 228 throws XMLDBCException; 229 230 237 public void setDouble(String varName, double value) 238 throws XMLDBCException; 239 240 249 public void setFloat(String ns, String varName, float value) 250 throws XMLDBCException; 251 252 259 public void setFloat(String varName, float value) 260 throws XMLDBCException; 261 262 271 public void setLong(String ns, String varName, long value) 272 throws XMLDBCException; 273 274 281 public void setLong(String varName, long value) 282 throws XMLDBCException; 283 284 293 public void setString(String ns, String varName, String value) 294 throws XMLDBCException; 295 296 303 public void setString(String varName, String value) 304 throws XMLDBCException; 305 306 314 public void setSequence(String ns, String varName, List value) 315 throws XMLDBCException; 316 317 323 public void setSequence(String varName, List value) 324 throws XMLDBCException; 325 326 330 public void clearVariables() throws XMLDBCException; 331 332 341 public boolean execute() throws XMLDBCException; 342 343 351 public XMLResultSet executeQuery() throws XMLDBCException; 352 353 356 public QName [] getParameterNames(); 357 360 public QName getParameterType(QName varName); 361 362 } 363 | Popular Tags |