public interface XmlWriter extends RowSetWriter
SyncProviderabstract 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 provide standard
XmlWriter objects to
WebRowSet object includes printing the
rowset's data, metadata, and properties, all with the
appropriate XML tags.
|Modifier and Type||Method and Description|
Writes the given
void writeXML(WebRowSet caller, Writer writer) throws SQLException
WebRowSetobject to the specified
java.io.Writeroutput stream as an XML document. This document includes the rowset's data, metadata, and properties plus the appropriate XML tags.
caller parameter must be a
XmlWriter field contains a reference to
WebRowSetinstance to be written, for which this
XmlWriterobject is the writer
java.io.Writerobject that serves as the output stream for writing
calleras an XML document
SQLException- if a database access error occurs or this
XmlWriterobject is not the writer for the given
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.