Class PassXML.SQLXMLMock
java.lang.Object
org.postgresql.pljava.example.annotation.PassXML.SQLXMLMock
- All Implemented Interfaces:
SQLXML
- Enclosing class:
PassXML
Class that will mock an
SQLXML
instance, returning only binary or
character stream data from a byte array or string supplied at
construction.-
Constructor Details
-
SQLXMLMock
-
SQLXMLMock
-
-
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
-