public class SQLXMLType extends XMLType implements java.sql.SQLXML
_SQL_TYPECODE, CONNTYPE_KPRB, CONNTYPE_OCI8, CONNTYPE_THIN, DECODE_ON_CLIENT, DEF_INDENT, ENCODE_ON_CLIENT, MAX_INDENT, MAX_PFLAG, PRINT_DEFAULT_PROPERTY, PRINT_NOPRETTY, PRINT_PRETTY, XMLTYPE_PICKLE_AS_BINXML, XMLTYPE_PICKLE_AS_TEXT| Constructor and Description |
|---|
SQLXMLType() |
SQLXMLType(java.sql.Connection conn, java.io.InputStream is) |
SQLXMLType(java.sql.Connection conn, java.io.InputStream is, java.lang.String kind) |
SQLXMLType(java.sql.Connection conn, long cstate) |
SQLXMLType(oracle.sql.OpaqueDescriptor type, java.sql.Connection conn, java.lang.Object value) |
SQLXMLType(oracle.sql.OpaqueDescriptor type, java.sql.Connection conn, java.lang.Object value, java.lang.String kind) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
java.io.InputStream |
getBinaryStream()
SQLXML method Get the value containing the XML data from the XMLType as a InputStream
|
java.io.Reader |
getCharacterStream()
SQLXML method Get the value containing the XML data from the XMLType as a InputStream
|
<T extends Source> |
getSource(java.lang.Class<T> sourceClass)
SQLXML method Get the value containing the XML data from the XMLType as a InputStream
|
java.lang.String |
getString()
SQLXML method Get the string value containing the XML data from the XMLType.
|
java.io.OutputStream |
setBinaryStream()
SQLXML method Set the string value containing the XML data to the XMLType.
|
java.io.Writer |
setCharacterStream()
SQLXML method Set the string value containing the XML data to the XMLType.
|
<T extends Result> |
setResult(java.lang.Class<T> resultClass) |
void |
setString(java.lang.String str)
SQLXML method Set the string value containing the XML data to the XMLType.
|
cleanupCache, close, createSchemaBasedXML, createXML, createXML, createXML, createXML, createXML, createXML, createXML, createXML, createXML, createXML, existsNode, extract, getBlobVal, getBlobVal, getClobVal, getClobVal, getDocument, getDocumentFragment, getDOM, getInputStream, getInputStream, getNamespace, getRootElement, getSchemaURL, getStringVal, getStringVal, isBinXml, isFragment, isSchemaBased, isSchemaValid, isSchemaValidated, schemaValidate, setBinaryXML, setBinaryXMLEncoding, setMetadataConn, setPicklePreference, setSchemaURL, setSchemaValidated, toBlob, toClob, transform, writeToOutputStream, writeToOutputStreamgetACProxy, getBytesValue, getDescriptor, getImageLength, getImageOffset, getJavaSqlConnection, getMap, getOracleMetaData, getSQLTypeName, getValue, isConvertibleTo, makeJdbcArray, setACProxy, setDescriptor, setImage, setImageLength, setValue, stringValue, toBytes, toClass, toClass, toJdbc, toJdbcassertNotNull, assertNotNull, getConnection, getInternalConnection, getOracleConnection, getPhysicalConnection, setPhysicalConnectionOfasciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, bytesHashCode, byteValue, characterStreamValue, compareBytes, dateValue, doubleValue, equals, floatValue, getBytes, getLength, getStream, intValue, isNull, longValue, setBytes, setShareBytes, shareBytes, stringValue, timestampValue, timestampValue, timeValue, timeValuegetClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytesValue, getDescriptor, getImageLength, getImageOffset, getJavaSqlConnection, getMap, isConvertibleTo, makeJdbcArray, setDescriptor, setImage, setImageLength, setValue, toBytes, toClass, toClass, toJdbc, toJdbcasciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, dateValue, doubleValue, floatValue, getBytes, getConnection, getInternalConnection, getLength, getOracleConnection, getStream, intValue, longValue, setBytes, setPhysicalConnectionOf, setShareBytes, shareBytes, stringValue, stringValue, timestampValue, timestampValue, timeValue, timeValuepublic SQLXMLType(java.sql.Connection conn,
java.io.InputStream is)
throws java.sql.SQLException
java.sql.SQLExceptionpublic SQLXMLType(java.sql.Connection conn,
java.io.InputStream is,
java.lang.String kind)
throws java.sql.SQLException
java.sql.SQLExceptionpublic SQLXMLType(oracle.sql.OpaqueDescriptor type,
java.sql.Connection conn,
java.lang.Object value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic SQLXMLType(oracle.sql.OpaqueDescriptor type,
java.sql.Connection conn,
java.lang.Object value,
java.lang.String kind)
throws java.sql.SQLException
java.sql.SQLExceptionpublic SQLXMLType(java.sql.Connection conn,
long cstate)
throws java.sql.SQLException
java.sql.SQLExceptionpublic SQLXMLType()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void free()
public java.lang.String getString()
throws java.sql.SQLException
public java.io.InputStream getBinaryStream()
throws java.sql.SQLException
getBinaryStream in interface java.sql.SQLXMLgetBinaryStream in class XMLTypejava.sql.SQLExceptionpublic java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.SQLXMLgetCharacterStream in class XMLTypejava.sql.SQLExceptionpublic <T extends Source> T getSource(java.lang.Class<T> sourceClass) throws java.sql.SQLException
public void setString(java.lang.String str)
throws java.sql.SQLException
public java.io.Writer setCharacterStream()
throws java.sql.SQLException
setCharacterStream in interface java.sql.SQLXMLsetCharacterStream in class XMLTypejava.sql.SQLExceptionpublic java.io.OutputStream setBinaryStream()
throws java.sql.SQLException
setBinaryStream in interface java.sql.SQLXMLsetBinaryStream in class XMLTypejava.sql.SQLException