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.StringdomSourceToString()voidfree()protected booleangetAllowXmlUnsafeExternalEntity()java.io.InputStreamgetBinaryStream()java.io.ReadergetCharacterStream()<T extends javax.xml.transform.Source>
TgetSource(java.lang.Class<T> clazz)java.lang.StringgetString()booleanisEmpty()protected java.lang.StringreaderToString(java.io.Reader reader)protected java.io.ReaderserializeAsCharacterStream()protected java.lang.StringserializeAsString()java.io.OutputStreamsetBinaryStream()java.io.WritersetCharacterStream()<T extends javax.xml.transform.Result>
TsetResult(java.lang.Class<T> clazz)voidsetString(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:
freein interfacejava.sql.SQLXML- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString() throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.SQLXML- Throws:
java.sql.SQLException
-
setString
public void setString(java.lang.String str) throws java.sql.SQLException- Specified by:
setStringin 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:
getBinaryStreamin interfacejava.sql.SQLXML- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream() throws java.sql.SQLException- Specified by:
getCharacterStreamin 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:
getSourcein interfacejava.sql.SQLXML- Throws:
java.sql.SQLException
-
setBinaryStream
public java.io.OutputStream setBinaryStream() throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.SQLXML- Throws:
java.sql.SQLException
-
setCharacterStream
public java.io.Writer setCharacterStream() throws java.sql.SQLException- Specified by:
setCharacterStreamin 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:
setResultin 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()
-