| java.lang.Object com.sun.rowset.internal.WebRowSetXmlWriter
WebRowSetXmlWriter | public class WebRowSetXmlWriter implements XmlWriter,Serializable(Code) | | An implementation of the XmlWriter interface, which writes a
WebRowSet object to an output stream as an XML document.
|
WebRowSetXmlWriter | public WebRowSetXmlWriter()(Code) | | |
writeXML | public void writeXML(WebRowSet caller, java.io.Writer wrt) throws SQLException(Code) | | Writes the given WebRowSet object as an XML document
using the given java.io.Writer object. The XML document
will include the WebRowSet object's data, metadata, and
properties. If a data value has been updated, that information is also
included.
This method is called by the XmlWriter object that is
referenced in the calling WebRowSet object's
xmlWriter field. The XmlWriter.writeXML
method passes to this method the arguments that were supplied to it.
Parameters: caller - the WebRowSet object to be written; mustbe a rowset for which this WebRowSetXmlWriter objectis the writer Parameters: wrt - the java.io.Writer object to whichcaller will be written exception: SQLException - if a database access error occurs orthis WebRowSetXmlWriter object is not the writerfor the given rowset See Also: XmlWriter.writeXML |
writeXML | public void writeXML(WebRowSet caller, java.io.OutputStream oStream) throws SQLException(Code) | | Writes the given WebRowSet object as an XML document
using the given java.io.OutputStream object. The XML document
will include the WebRowSet object's data, metadata, and
properties. If a data value has been updated, that information is also
included.
Using stream is a faster way than using java.io.Writer
This method is called by the XmlWriter object that is
referenced in the calling WebRowSet object's
xmlWriter field. The XmlWriter.writeXML
method passes to this method the arguments that were supplied to it.
Parameters: caller - the WebRowSet object to be written; mustbe a rowset for which this WebRowSetXmlWriter objectis the writer Parameters: oStream - the java.io.OutputStream object to whichcaller will be written throws: SQLException - if a database access error occurs orthis WebRowSetXmlWriter object is not the writerfor the given rowset See Also: XmlWriter.writeXML |
|
|