Class JdbcSQLXML
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
JdbcSQLXML
Un SQLXML
JDBC. Pour en savoir plus sur cette classe, consultez java.sql.SQLXML
.
Documentation détaillée
getString()
Pour en savoir plus sur cette méthode, consultez
java.sql.SQLXML#getString()
.
Renvois
String
: représentation sous forme de chaîne de la valeur XML désignée par cette instance SQLXML.
setString(value)
Pour en savoir plus sur cette méthode, consultez
java.sql.SQLXML#setString(String)
.
Paramètres
Nom | Type | Description |
value | String | Représentation sous forme de chaîne de la valeur XML à définir. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eJdbcSQLXML\u003c/code\u003e is a JDBC wrapper for SQLXML data type, providing methods for interaction with XML data within a database.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers functionalities like retrieving the XML data as a string using \u003ccode\u003egetString()\u003c/code\u003e, setting it with \u003ccode\u003esetString(value)\u003c/code\u003e, and releasing resources with \u003ccode\u003efree()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDetailed documentation and usage examples for each method are linked to the official Java API documentation for comprehensive understanding.\u003c/p\u003e\n"]]],["JdbcSQLXML is a JDBC `SQLXML` class with methods for managing XML data. The `free()` method is used to release resources. The `getString()` method retrieves the XML data as a string. The `setString(value)` method sets the XML value using a provided string; it accepts a `String` parameter named `value`. Detailed information about these methods can be found in the `java.sql.SQLXML` documentation.\n"],null,["# Class JdbcSQLXML\n\nJdbcSQLXML\n\nA JDBC `SQLXML`. For documentation of this class, see [`java.sql.SQLXML\n`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html). \n\n### Methods\n\n| Method | Return type | Brief description |\n|----------------------------------------|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [free()](#free()) | `void` | For documentation of this method, see [` java.sql.SQLXML#free()`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html#free()). |\n| [getString()](#getString()) | `String` | For documentation of this method, see [` java.sql.SQLXML#getString()`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html#getString()). |\n| [setString(value)](#setString(String)) | `void` | For documentation of this method, see [`java.sql.SQLXML#setString(String)`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html#setString(java.lang.String)). |\n\nDetailed documentation\n----------------------\n\n### `free()`\n\nFor documentation of this method, see [`\njava.sql.SQLXML#free()`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html#free()).\n\n*** ** * ** ***\n\n### `get``String()`\n\nFor documentation of this method, see [`\njava.sql.SQLXML#getString()`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html#getString()).\n\n#### Return\n\n\n`String` --- The string representation of the XML value designated by this SQLXML instance.\n\n*** ** * ** ***\n\n### `set``String(value)`\n\nFor documentation of this method, see [`java.sql.SQLXML#setString(String)`](https://docs.oracle.com/javase/6/docs/api/java/sql/SQLXML.html#setString(java.lang.String)).\n\n#### Parameters\n\n| Name | Type | Description |\n|---------|----------|----------------------------------------------------|\n| `value` | `String` | The string representation of the XML value to set. |"]]