org.postgresql.jdbc
Class PgSQLXML

java.lang.Object
  extended by org.postgresql.jdbc.PgSQLXML
All Implemented Interfaces:
SQLXML

public class PgSQLXML
extends Object
implements SQLXML


Constructor Summary
PgSQLXML(BaseConnection conn)
           
PgSQLXML(BaseConnection conn, String data)
           
 
Method Summary
 void free()
           
 InputStream getBinaryStream()
           
 Reader getCharacterStream()
           
<T extends Source>
T
getSource(Class<T> sourceClass)
           
 String getString()
           
 OutputStream setBinaryStream()
           
 Writer setCharacterStream()
           
<T extends Result>
T
setResult(Class<T> resultClass)
           
 void setString(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PgSQLXML

public PgSQLXML(BaseConnection conn)

PgSQLXML

public PgSQLXML(BaseConnection conn,
                String data)
Method Detail

free

public void free()
Specified by:
free in interface SQLXML

getBinaryStream

public InputStream getBinaryStream()
                            throws SQLException
Specified by:
getBinaryStream in interface SQLXML
Throws:
SQLException

getCharacterStream

public Reader getCharacterStream()
                          throws SQLException
Specified by:
getCharacterStream in interface SQLXML
Throws:
SQLException

getSource

public <T extends Source> T getSource(Class<T> sourceClass)
                           throws SQLException
Specified by:
getSource in interface SQLXML
Throws:
SQLException

getString

public String getString()
                 throws SQLException
Specified by:
getString in interface SQLXML
Throws:
SQLException

setBinaryStream

public OutputStream setBinaryStream()
                             throws SQLException
Specified by:
setBinaryStream in interface SQLXML
Throws:
SQLException

setCharacterStream

public Writer setCharacterStream()
                          throws SQLException
Specified by:
setCharacterStream in interface SQLXML
Throws:
SQLException

setResult

public <T extends Result> T setResult(Class<T> resultClass)
                           throws SQLException
Specified by:
setResult in interface SQLXML
Throws:
SQLException

setString

public void setString(String value)
               throws SQLException
Specified by:
setString in interface SQLXML
Throws:
SQLException


Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.