| 构造器和说明 |
|---|
SQLXml(byte[] struct) |
SQLXml(Connection conn) |
SQLXml(String xmlString,
Connection conn) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
domSourceToString() |
void |
free()
此方法关闭此对象并释放其持有的资源。
|
InputStream |
getBinaryStream()
以流的形式获取此 SQLXML 实例指定的 XML 值。
|
Reader |
getCharacterStream()
以 java.io.Reader 对象的形式获取此 SQLXML 实例指定的 XML 值
|
<T extends Source> |
getSource(Class<T> clazz) |
String |
getString()
返回此 SQLXML 实例指定的 XML 值的字符串表示形式。
|
protected String |
readerToString(Reader reader) |
protected Reader |
serializeAsCharacterStream() |
protected String |
serializeAsString() |
OutputStream |
setBinaryStream()
获取可用于写入此 SQLXML 实例表示的 XML 值的流。
|
Writer |
setCharacterStream()
获取用于写入此 SQLXML 实例表示的 XML 值的流。
|
<T extends Result> |
setResult(Class<T> clazz)
(non-Javadoc)
|
void |
setString(String arg0)
将此 SQLXML 实例指定的 XML 值设置为给定的 String 表示形式。
|
public SQLXml(byte[] struct)
public SQLXml(String xmlString, Connection conn)
public SQLXml(Connection conn)
public void free()
throws SQLException
free 在接口中 SQLXMLSQLExceptionSQLXML.free()public InputStream getBinaryStream() throws SQLException
getBinaryStream 在接口中 SQLXMLSQLExceptionSQLXML.getBinaryStream()public Reader getCharacterStream() throws SQLException
getCharacterStream 在接口中 SQLXMLSQLExceptionSQLXML.getCharacterStream()public <T extends Source> T getSource(Class<T> clazz) throws SQLException
getSource 在接口中 SQLXMLSQLExceptionpublic String getString() throws SQLException
getString 在接口中 SQLXMLSQLExceptionSQLXML.getString()public OutputStream setBinaryStream() throws SQLException
setBinaryStream 在接口中 SQLXMLSQLExceptionSQLXML.setBinaryStream()public Writer setCharacterStream() throws SQLException
setCharacterStream 在接口中 SQLXMLSQLExceptionSQLXML.setCharacterStream()public <T extends Result> T setResult(Class<T> clazz) throws SQLException
setResult 在接口中 SQLXMLSQLExceptionSQLXML.setResult(java.lang.Class)public void setString(String arg0) throws SQLException
setString 在接口中 SQLXMLSQLExceptionSQLXML.setString(java.lang.String)protected Reader serializeAsCharacterStream() throws SQLException
SQLExceptionprotected String serializeAsString() throws SQLException
SQLExceptionprotected String readerToString(Reader reader) throws SQLException
SQLExceptionprotected String domSourceToString() throws SQLException
SQLExceptionCopyright © 2025. All rights reserved.