Package org.h2.jdbc
Class JdbcSQLXML
java.lang.Object
org.h2.message.TraceObject
org.h2.jdbc.JdbcLob
org.h2.jdbc.JdbcSQLXML
- All Implemented Interfaces:
SQLXML
Represents a SQLXML value.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.h2.jdbc.JdbcLob
JdbcLob.LobPipedOutputStream, JdbcLob.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Closeable
Underlying stream for SAXResult, StAXResult, and StreamResult.private DOMResult
private static final EntityResolver
private static final URIResolver
Fields inherited from class org.h2.message.TraceObject
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XID
-
Constructor Summary
ConstructorsConstructorDescriptionJdbcSQLXML
(JdbcConnection conn, Value value, JdbcLob.State state, int id) INTERNAL -
Method Summary
Methods inherited from class org.h2.jdbc.JdbcLob
checkClosed, checkEditable, completeWrite, free, setCharacterStreamImpl, setClobOutputStreamImpl, toString
Methods inherited from class org.h2.message.TraceObject
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
-
Field Details
-
secureFeatureMap
-
NOOP_ENTITY_RESOLVER
-
NOOP_URI_RESOLVER
-
domResult
-
closable
Underlying stream for SAXResult, StAXResult, and StreamResult.
-
-
Constructor Details
-
JdbcSQLXML
INTERNAL- Parameters:
conn
- to usevalue
- for this JdbcSQLXMLstate
- of the LOBid
- of the trace object
-
-
Method Details
-
checkReadable
Description copied from class:JdbcLob
Check the state of the LOB and throws the exception when check failed (the LOB must be set completely before read).- Overrides:
checkReadable
in classJdbcLob
- Throws:
SQLException
- on SQL exceptionIOException
- on I/O exception
-
getBinaryStream
Description copied from class:JdbcLob
Returns the input stream.- Specified by:
getBinaryStream
in interfaceSQLXML
- Overrides:
getBinaryStream
in classJdbcLob
- Returns:
- the input stream
- Throws:
SQLException
- on failure
-
getCharacterStream
Description copied from class:JdbcLob
Returns the reader.- Specified by:
getCharacterStream
in interfaceSQLXML
- Overrides:
getCharacterStream
in classJdbcLob
- Returns:
- the reader
- Throws:
SQLException
- on failure
-
getSource
- Specified by:
getSource
in interfaceSQLXML
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceSQLXML
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
setResult
- Specified by:
setResult
in interfaceSQLXML
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceSQLXML
- Throws:
SQLException
-