org.melati.poem.dbms.test.sql
Class ThrowingSQLXML

Package class diagram package ThrowingSQLXML
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingSQLXML
All Implemented Interfaces:
SQLXML

public class ThrowingSQLXML
extends Thrower
implements SQLXML

Since:
5 Feb 2008
Author:
timp

Constructor Summary
ThrowingSQLXML(SQLXML sx)
          Constructor.
 
Method Summary
 void free()
          
 InputStream getBinaryStream()
          
 Reader getCharacterStream()
          
<T extends Source>
T
getSource(Class<T> sourceClass)
          
 String getString()
          
 OutputStream setBinaryStream()
          
 Writer setCharacterStream()
          
<T extends Result>
T
setResult(Class<T> resultClass)
          
 void setString(String value)
          
 
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower
shouldThrow, startThrowing, startThrowingAfter, stopThrowing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowingSQLXML

public ThrowingSQLXML(SQLXML sx)
Constructor.

Method Detail

free

public void free()
          throws SQLException

Specified by:
free in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.free()

getBinaryStream

public InputStream getBinaryStream()
                            throws SQLException

Specified by:
getBinaryStream in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.getBinaryStream()

getCharacterStream

public Reader getCharacterStream()
                          throws SQLException

Specified by:
getCharacterStream in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.getCharacterStream()

getSource

public <T extends Source> T getSource(Class<T> sourceClass)
                           throws SQLException

Specified by:
getSource in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.getSource(java.lang.Class)

getString

public String getString()
                 throws SQLException

Specified by:
getString in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.getString()

setBinaryStream

public OutputStream setBinaryStream()
                             throws SQLException

Specified by:
setBinaryStream in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.setBinaryStream()

setCharacterStream

public Writer setCharacterStream()
                          throws SQLException

Specified by:
setCharacterStream in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.setCharacterStream()

setResult

public <T extends Result> T setResult(Class<T> resultClass)
                           throws SQLException

Specified by:
setResult in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.setResult(java.lang.Class)

setString

public void setString(String value)
               throws SQLException

Specified by:
setString in interface SQLXML
Throws:
SQLException
See Also:
SQLXML.setString(java.lang.String)


Copyright © 2000-2010 PanEris. All Rights Reserved.