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(OpaqueDescriptor type, java.sql.Connection conn, java.lang.Object value) |
SQLXMLType(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, 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, writeToOutputStream
public SQLXMLType(java.sql.Connection conn,
java.io.InputStream is)
throws java.sql.SQLException
java.sql.SQLException
public SQLXMLType(java.sql.Connection conn,
java.io.InputStream is,
java.lang.String kind)
throws java.sql.SQLException
java.sql.SQLException
public SQLXMLType(OpaqueDescriptor type,
java.sql.Connection conn,
java.lang.Object value)
throws java.sql.SQLException
java.sql.SQLException
public SQLXMLType(OpaqueDescriptor type,
java.sql.Connection conn,
java.lang.Object value,
java.lang.String kind)
throws java.sql.SQLException
java.sql.SQLException
public SQLXMLType(java.sql.Connection conn,
long cstate)
throws java.sql.SQLException
java.sql.SQLException
public 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.SQLException
public 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.SQLException
public java.io.OutputStream setBinaryStream()
throws java.sql.SQLException
setBinaryStream in interface java.sql.SQLXMLsetBinaryStream in class XMLTypejava.sql.SQLException