public interface XmlWriter extends RowSetWriter
SyncProvider抽象类的扩展型同步提供者。
SyncProvider实现XML数据的能力,提供作家如输出XML数据流的能力,可以实现此接口,以提供标准的XmlWriter对象WebRowSet实现。
写一WebRowSet对象包括印刷行集的数据、元数据和属性,都与相应的XML标签。
void writeXML(WebRowSet caller, Writer writer) throws SQLException
WebRowSet对象到指定的
java.io.Writer输出流作为XML文档。本文件包含的数据集的数据,元数据和属性加适当的XML标签。
的caller参数必须是一个WebRowSet对象的XmlWriter字段包含一个参考这个XmlWriter对象。
caller -要写入的
WebRowSet实例,这种
XmlWriter对象是作家
writer -
java.io.Writer对象作为写作
caller作为XML文档的输出流
SQLException -如果一个数据库访问错误发生或这
XmlWriter对象不是给定的
WebRowSet对象的作家
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, 2014, Oracle and/or its affiliates. All rights reserved.