public final class JdbcSQLXML extends JdbcLob implements java.sql.SQLXML
JdbcLob.State
Constructor and Description |
---|
JdbcSQLXML(JdbcConnection conn,
org.h2.value.Value value,
JdbcLob.State state,
int id)
INTERNAL
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getBinaryStream()
Returns the input stream.
|
java.io.Reader |
getCharacterStream()
Returns the reader.
|
<T extends javax.xml.transform.Source> |
getSource(java.lang.Class<T> sourceClass) |
java.lang.String |
getString() |
java.io.OutputStream |
setBinaryStream() |
java.io.Writer |
setCharacterStream() |
<T extends javax.xml.transform.Result> |
setResult(java.lang.Class<T> resultClass) |
void |
setString(java.lang.String value) |
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
public JdbcSQLXML(JdbcConnection conn, org.h2.value.Value value, JdbcLob.State state, int id)
conn
- to usevalue
- for this JdbcSQLXMLstate
- of the LOBid
- of the trace objectpublic java.io.InputStream getBinaryStream() throws java.sql.SQLException
JdbcLob
getBinaryStream
in interface java.sql.SQLXML
java.sql.SQLException
- on failurepublic java.io.Reader getCharacterStream() throws java.sql.SQLException
JdbcLob
getCharacterStream
in interface java.sql.SQLXML
java.sql.SQLException
- on failurepublic <T extends javax.xml.transform.Source> T getSource(java.lang.Class<T> sourceClass) throws java.sql.SQLException
getSource
in interface java.sql.SQLXML
java.sql.SQLException
public java.lang.String getString() throws java.sql.SQLException
getString
in interface java.sql.SQLXML
java.sql.SQLException
public java.io.OutputStream setBinaryStream() throws java.sql.SQLException
setBinaryStream
in interface java.sql.SQLXML
java.sql.SQLException
public java.io.Writer setCharacterStream() throws java.sql.SQLException
setCharacterStream
in interface java.sql.SQLXML
java.sql.SQLException
public <T extends javax.xml.transform.Result> T setResult(java.lang.Class<T> resultClass) throws java.sql.SQLException
setResult
in interface java.sql.SQLXML
java.sql.SQLException
public void setString(java.lang.String value) throws java.sql.SQLException
setString
in interface java.sql.SQLXML
java.sql.SQLException