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 CloseableUnderlying stream for SAXResult, StAXResult, and StreamResult.private DOMResultprivate static final EntityResolverprivate static final URIResolverFields 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, toStringMethods 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:JdbcLobCheck the state of the LOB and throws the exception when check failed (the LOB must be set completely before read).- Overrides:
checkReadablein classJdbcLob- Throws:
SQLException- on SQL exceptionIOException- on I/O exception
-
getBinaryStream
Description copied from class:JdbcLobReturns the input stream.- Specified by:
getBinaryStreamin interfaceSQLXML- Overrides:
getBinaryStreamin classJdbcLob- Returns:
- the input stream
- Throws:
SQLException- on failure
-
getCharacterStream
Description copied from class:JdbcLobReturns the reader.- Specified by:
getCharacterStreamin interfaceSQLXML- Overrides:
getCharacterStreamin classJdbcLob- Returns:
- the reader
- Throws:
SQLException- on failure
-
getSource
- Specified by:
getSourcein interfaceSQLXML- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceSQLXML- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceSQLXML- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceSQLXML- Throws:
SQLException
-
setResult
- Specified by:
setResultin interfaceSQLXML- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceSQLXML- Throws:
SQLException
-