|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.sql.OPAQUE
oracle.xdb.XMLType
oracle.xdb.SQLXMLType
public class SQLXMLType
Field Summary |
---|
Fields inherited from class oracle.xdb.XMLType |
---|
_SQL_TYPECODE, CONNTYPE_KPRB, CONNTYPE_OCI8, CONNTYPE_THIN, DEF_INDENT, MAX_INDENT, MAX_PFLAG, PRINT_DEFAULT_PROPERTY, PRINT_NOPRETTY, PRINT_PRETTY, XMLTYPE_PICKLE_AS_BINXML, XMLTYPE_PICKLE_AS_TEXT |
Constructor Summary | |
---|---|
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) |
Method Summary | ||
---|---|---|
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 |
|
|
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. |
|
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.SQLException
Method Detail |
---|
public void free()
free
in interface java.sql.SQLXML
free
in class XMLType
public java.lang.String getString() throws java.sql.SQLException
getString
in interface java.sql.SQLXML
getString
in class XMLType
java.sql.SQLException
public java.io.InputStream getBinaryStream() throws java.sql.SQLException
getBinaryStream
in interface java.sql.SQLXML
getBinaryStream
in class XMLType
java.sql.SQLException
public java.io.Reader getCharacterStream() throws java.sql.SQLException
getCharacterStream
in interface java.sql.SQLXML
getCharacterStream
in class XMLType
java.sql.SQLException
public <T extends Source> T getSource(java.lang.Class<T> sourceClass) throws java.sql.SQLException
getSource
in interface java.sql.SQLXML
getSource
in class XMLType
java.sql.SQLException
public void setString(java.lang.String str) throws java.sql.SQLException
setString
in interface java.sql.SQLXML
setString
in class XMLType
java.sql.SQLException
public java.io.Writer setCharacterStream() throws java.sql.SQLException
setCharacterStream
in interface java.sql.SQLXML
setCharacterStream
in class XMLType
java.sql.SQLException
public java.io.OutputStream setBinaryStream() throws java.sql.SQLException
setBinaryStream
in interface java.sql.SQLXML
setBinaryStream
in class XMLType
java.sql.SQLException
public <T extends Result> T setResult(java.lang.Class<T> resultClass) throws java.sql.SQLException
setResult
in interface java.sql.SQLXML
setResult
in class XMLType
java.sql.SQLException
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.