Package com.mysql.cj.jdbc
Class MysqlSQLXML
java.lang.Object
com.mysql.cj.jdbc.MysqlSQLXML
- All Implemented Interfaces:
java.sql.SQLXML
public class MysqlSQLXML
extends java.lang.Object
implements java.sql.SQLXML
-
Constructor Summary
Constructors Constructor Description MysqlSQLXML(ExceptionInterceptor exceptionInterceptor, JdbcPropertySet propsSet)
MysqlSQLXML(ResultSetInternalMethods owner, int index, ExceptionInterceptor exceptionInterceptor, JdbcPropertySet propsSet)
-
Method Summary
Modifier and Type Method Description protected java.lang.String
domSourceToString()
void
free()
protected boolean
getAllowXmlUnsafeExternalEntity()
java.io.InputStream
getBinaryStream()
java.io.Reader
getCharacterStream()
<T extends javax.xml.transform.Source>
TgetSource(java.lang.Class<T> clazz)
java.lang.String
getString()
boolean
isEmpty()
protected java.lang.String
readerToString(java.io.Reader reader)
protected java.io.Reader
serializeAsCharacterStream()
protected java.lang.String
serializeAsString()
java.io.OutputStream
setBinaryStream()
java.io.Writer
setCharacterStream()
<T extends javax.xml.transform.Result>
TsetResult(java.lang.Class<T> clazz)
void
setString(java.lang.String str)
-
Constructor Details
-
MysqlSQLXML
public MysqlSQLXML(ResultSetInternalMethods owner, int index, ExceptionInterceptor exceptionInterceptor, JdbcPropertySet propsSet) -
MysqlSQLXML
-
-
Method Details
-
free
public void free() throws java.sql.SQLException- Specified by:
free
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString() throws java.sql.SQLException- Specified by:
getString
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
setString
public void setString(java.lang.String str) throws java.sql.SQLException- Specified by:
setString
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
isEmpty
public boolean isEmpty() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream() throws java.sql.SQLException- Specified by:
getBinaryStream
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream() throws java.sql.SQLException- Specified by:
getCharacterStream
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
getSource
public <T extends javax.xml.transform.Source> T getSource(java.lang.Class<T> clazz) throws java.sql.SQLException- Specified by:
getSource
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
setBinaryStream
public java.io.OutputStream setBinaryStream() throws java.sql.SQLException- Specified by:
setBinaryStream
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
setCharacterStream
public java.io.Writer setCharacterStream() throws java.sql.SQLException- Specified by:
setCharacterStream
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
setResult
public <T extends javax.xml.transform.Result> T setResult(java.lang.Class<T> clazz) throws java.sql.SQLException- Specified by:
setResult
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
readerToString
protected java.lang.String readerToString(java.io.Reader reader) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
serializeAsCharacterStream
protected java.io.Reader serializeAsCharacterStream() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
domSourceToString
protected java.lang.String domSourceToString() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
serializeAsString
protected java.lang.String serializeAsString() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getAllowXmlUnsafeExternalEntity
protected boolean getAllowXmlUnsafeExternalEntity()
-