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.