@Test public void testGetString() throws Exception { SQLXMLImpl xml = new SQLXMLImpl(testStr); assertEquals(testStr, xml.getString()); }
public String getString() throws SQLException { try { return ObjectConverterUtil.convertToString(getCharacterStream()); } catch (IOException e) { SQLException ex = new SQLException(e.getMessage()); ex.initCause(e); throw ex; } }
SQLXMLImpl extends BaseLob implements SQLXML { public String getString() throws SQLException { try { return ObjectConverterUtil.convertToString(getCharacterStream()); } catch (IOException e) { SQLException ex = new SQLException(e.getMessage()); ex.initCause(e); throw ex; } } }
SQLXMLImpl extends BaseLob implements SQLXML { public String getString() throws SQLException { try { return ObjectConverterUtil.convertToString(getCharacterStream()); } catch (IOException e) { SQLException ex = new SQLException(e.getMessage()); ex.initCause(e); throw ex; } } SQLXMLImpl();  SQLXMLImpl(final byte[] bytes);  SQLXMLImpl(final String str);  SQLXMLImpl(InputStreamFactory factory); }
SQLXMLImpl extends BaseLob implements SQLXML { public String getString() throws SQLException { try { return ObjectConverterUtil.convertToString(getCharacterStream()); } catch (IOException e) { SQLException ex = new SQLException(e.getMessage()); ex.initCause(e); throw ex; } } SQLXMLImpl();  SQLXMLImpl(final byte[] bytes);  SQLXMLImpl(final String str);  SQLXMLImpl(InputStreamFactory factory); @Override Charset getCharset(); @SuppressWarnings("unchecked") T getSource(Class<T> sourceClass); String getString(); OutputStream setBinaryStream(); Writer setCharacterStream(); void setString(String value); T setResult(Class<T> resultClass); static long quickLength(SQLXML xml); }
SQLXMLImpl extends BaseLob implements SQLXML { public String getString() throws SQLException { try { return ObjectConverterUtil.convertToString(getCharacterStream()); } catch (IOException e) { SQLException ex = new SQLException(e.getMessage()); ex.initCause(e); throw ex; } } SQLXMLImpl();  SQLXMLImpl(final byte[] bytes);  SQLXMLImpl(final String str);  SQLXMLImpl(InputStreamFactory factory); @Override Charset getCharset(); @SuppressWarnings("unchecked") T getSource(Class<T> sourceClass); String getString(); OutputStream setBinaryStream(); Writer setCharacterStream(); void setString(String value); T setResult(Class<T> resultClass); static long quickLength(SQLXML xml);  }