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:
freein interfaceSQLXML- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceSQLXML- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStreamin interfaceSQLXML- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceSQLXML- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceSQLXML- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceSQLXML- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceSQLXML- Throws:
SQLException
-
getSource
- Specified by:
getSourcein interfaceSQLXML- Throws:
SQLException
-
setResult
- Specified by:
setResultin interfaceSQLXML- Throws:
SQLException
-