Package org.postgresql.jdbc
Class PgSQLXML
java.lang.Object
org.postgresql.jdbc.PgSQLXML
- All Implemented Interfaces:
SQLXML
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private ByteArrayOutputStream
private final BaseConnection
private String
private DOMResult
private boolean
private boolean
private final ResourceLock
private StringWriter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionPgSQLXML
(BaseConnection conn) PgSQLXML
(BaseConnection conn, String data) private
PgSQLXML
(BaseConnection conn, String data, boolean initialized) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
void
free()
<T extends Source>
Tprivate PGXmlFactoryFactory
private void
<T extends Result>
Tvoid
-
Field Details
-
lock
-
conn
-
data
-
initialized
private boolean initialized -
active
private boolean active -
freed
private boolean freed -
byteArrayOutputStream
-
stringWriter
-
domResult
-
-
Constructor Details
-
PgSQLXML
-
PgSQLXML
-
PgSQLXML
-
-
Method Details
-
getXmlFactoryFactory
- Throws:
SQLException
-
free
public void free() -
getBinaryStream
- Specified by:
getBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
getSource
- Specified by:
getSource
in interfaceSQLXML
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceSQLXML
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
setResult
- Specified by:
setResult
in interfaceSQLXML
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceSQLXML
- Throws:
SQLException
-
checkFreed
- Throws:
SQLException
-
ensureInitialized
- Throws:
SQLException
-
initialize
- Throws:
SQLException
-