net.sf.saxon.Query.rewriteToDisk()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(0.9k)|赞(0)|评价(0)|浏览(203)

本文整理了Java中net.sf.saxon.Query.rewriteToDisk方法的一些代码示例,展示了Query.rewriteToDisk的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.rewriteToDisk方法的具体详情如下:
包路径:net.sf.saxon.Query
类名称:Query
方法名:rewriteToDisk

Query.rewriteToDisk介绍

[英]Write an updated document back to disk, using the original URI from which it was read
[中]使用读取文档的原始URI将更新后的文档写回磁盘

代码示例

代码示例来源:origin: net.sf.saxon/Saxon-HE

String documentURI = pool.getDocumentURI(node);
if (documentURI != null) {
  rewriteToDisk(node, serializer, backup, showTime ? System.err : null);
} else if (showTime) {
  System.err.println("Updated document discarded because it was not read using doc()");

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon

String documentURI = pool.getDocumentURI(node);
if (documentURI != null) {
  rewriteToDisk(node, serializer, backup, showTime ? System.err : null);
} else if (showTime) {
  System.err.println("Updated document discarded because it was not read using doc()");

相关文章