Class PassXML.SQLXMLProxy
java.lang.Object
org.postgresql.pljava.example.annotation.PassXML.SQLXMLProxy
- All Implemented Interfaces:
SQLXML
- Enclosing class:
PassXML
Class that will proxy methods to another
SQLXML
class.
Used for testing the PL/Java can accept input for PostgreSQL from an
SQLXML
object not of its own implementation (for example, one
obtained from a different JDBC driver from some other database).
Only the getSource
method is specially treated, to allow
exercising the various flavors of source.
-
Constructor Details
-
SQLXMLProxy
-
-
Method Details
-
free
- Specified by:
free
in interfaceSQLXML
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceSQLXML
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceSQLXML
- Throws:
SQLException
-
getSource
- Specified by:
getSource
in interfaceSQLXML
- Throws:
SQLException
-
setResult
- Specified by:
setResult
in interfaceSQLXML
- Throws:
SQLException
-