com.alibaba.druid.mock
Class MockSQLXML
java.lang.Object
com.alibaba.druid.mock.MockSQLXML
- All Implemented Interfaces:
- SQLXML
public class MockSQLXML
- extends Object
- implements SQLXML
MockSQLXML
public MockSQLXML()
free
public void free()
throws SQLException
- Specified by:
free in interface SQLXML
- Throws:
SQLException
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- Specified by:
getBinaryStream in interface SQLXML
- Throws:
SQLException
setBinaryStream
public OutputStream setBinaryStream()
throws SQLException
- Specified by:
setBinaryStream in interface SQLXML
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream()
throws SQLException
- Specified by:
getCharacterStream in interface SQLXML
- Throws:
SQLException
setCharacterStream
public Writer setCharacterStream()
throws SQLException
- Specified by:
setCharacterStream in interface SQLXML
- Throws:
SQLException
getString
public String getString()
throws SQLException
- Specified by:
getString in interface SQLXML
- Throws:
SQLException
setString
public void setString(String value)
throws SQLException
- Specified by:
setString in interface SQLXML
- Throws:
SQLException
getSource
public <T extends Source> T getSource(Class<T> sourceClass)
throws SQLException
- Specified by:
getSource in interface SQLXML
- Throws:
SQLException
setResult
public <T extends Result> T setResult(Class<T> resultClass)
throws SQLException
- Specified by:
setResult in interface SQLXML
- Throws:
SQLException
Copyright © 2012 Alibaba Group. All Rights Reserved.