Package com.impossibl.postgres.jdbc
Class PGSQLXML
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGSQLXML
-
- All Implemented Interfaces:
java.sql.SQLXML
public class PGSQLXML extends java.lang.Object implements java.sql.SQLXML
-
-
Constructor Summary
Constructors Constructor Description PGSQLXML(PGDirectConnection conn)
PGSQLXML(PGDirectConnection conn, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
void
free()
java.io.InputStream
getBinaryStream()
java.io.Reader
getCharacterStream()
byte[]
getData()
<T extends javax.xml.transform.Source>
TgetSource(java.lang.Class<T> sourceClass)
java.lang.String
getString()
int
hashCode()
boolean
isNull()
com.impossibl.postgres.jdbc.PGSQLXML.OutputStream
setBinaryStream()
java.io.Writer
setCharacterStream()
<T extends javax.xml.transform.Result>
TsetResult(java.lang.Class<T> resultClassIn)
void
setString(java.lang.String value)
-
-
-
Constructor Detail
-
PGSQLXML
public PGSQLXML(PGDirectConnection conn)
-
PGSQLXML
public PGSQLXML(PGDirectConnection conn, byte[] data)
-
-
Method Detail
-
isNull
public boolean isNull()
-
getData
public byte[] getData()
-
free
public void free()
- Specified by:
free
in interfacejava.sql.SQLXML
-
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> sourceClass) throws java.sql.SQLException
- Specified by:
getSource
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
-
setBinaryStream
public com.impossibl.postgres.jdbc.PGSQLXML.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> resultClassIn) throws java.sql.SQLException
- Specified by:
setResult
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
setString
public void setString(java.lang.String value) throws java.sql.SQLException
- Specified by:
setString
in interfacejava.sql.SQLXML
- Throws:
java.sql.SQLException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-