-
- All Superinterfaces:
- RowSetWriter
public interface XmlWriter extends RowSetWriter
A specialized interface that facilitates an extension of theSyncProvider
abstract class for XML orientated synchronization providers.SyncProvider
implementations that supply XML data writer capabilities such as output XML stream capabilities can implement this interface to provider standardXmlWriter
objects toWebRowSet
implementations.Writing a
WebRowSet
object includes printing the rowset's data, metadata, and properties, all with the appropriate XML tags.
-
-
Method Detail
-
writeXML
void writeXML(WebRowSet caller, Writer writer) throws SQLException
Writes the givenWebRowSet
object to the specifiedjava.io.Writer
output stream as an XML document. This document includes the rowset's data, metadata, and properties plus the appropriate XML tags.The
caller
parameter must be aWebRowSet
object whoseXmlWriter
field contains a reference to thisXmlWriter
object.- Parameters:
caller
- theWebRowSet
instance to be written, for which thisXmlWriter
object is the writerwriter
- thejava.io.Writer
object that serves as the output stream for writingcaller
as an XML document- Throws:
SQLException
- if a database access error occurs or thisXmlWriter
object is not the writer for the givenWebRowSet
object
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/sql/rowset/spi/xmlwriter.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.