org.jvnet.hk2.config.Dom.writeTo()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(136)

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

Dom.writeTo介绍

[英]Writes back this element.
[中]回写此元素。

代码示例

代码示例来源:origin: javaee/glassfish

/**
 * Writes back the whole DOM tree as an XML document.
 *
 * <p>
 * To support writing a subtree, this method doesn't invoke the start/endDocument
 * events. Those are the responsibility of the caller.
 *
 * @param w
 *      Receives XML infoset stream.
 */
public void writeTo(XMLStreamWriter w) throws XMLStreamException {
  root.writeTo(null,w);
}

代码示例来源:origin: javaee/glassfish

protected void writeTo(XMLStreamWriter w) throws XMLStreamException {
  dom.writeTo(name,w);
}

代码示例来源:origin: com.sun.enterprise/config

/**
 * Writes back the whole DOM tree as an XML document.
 *
 * <p>
 * To support writing a subtree, this method doesn't invoke the start/endDocument
 * events. Those are the responsibility of the caller.
 *
 * @param w
 *      Receives XML infoset stream.
 */
public void writeTo(XMLStreamWriter w) throws XMLStreamException {
  root.writeTo(null,w);
}

代码示例来源:origin: org.glassfish.hk2/hk2-config

/**
 * Writes back the whole DOM tree as an XML document.
 *
 * <p>
 * To support writing a subtree, this method doesn't invoke the start/endDocument
 * events. Those are the responsibility of the caller.
 *
 * @param w
 *      Receives XML infoset stream.
 */
public void writeTo(XMLStreamWriter w) throws XMLStreamException {
  root.writeTo(null,w);
}

代码示例来源:origin: eclipse-ee4j/glassfish

/**
 * Writes back the whole DOM tree as an XML document.
 *
 * <p>
 * To support writing a subtree, this method doesn't invoke the start/endDocument
 * events. Those are the responsibility of the caller.
 *
 * @param w
 *      Receives XML infoset stream.
 */
public void writeTo(XMLStreamWriter w) throws XMLStreamException {
  root.writeTo(null,w);
}

代码示例来源:origin: org.glassfish.hk2/config

/**
 * Writes back the whole DOM tree as an XML document.
 *
 * <p>
 * To support writing a subtree, this method doesn't invoke the start/endDocument
 * events. Those are the responsibility of the caller.
 *
 * @param w
 *      Receives XML infoset stream.
 */
public void writeTo(XMLStreamWriter w) throws XMLStreamException {
  root.writeTo(null,w);
}

代码示例来源:origin: org.glassfish.hk2/config

protected void writeTo(XMLStreamWriter w) throws XMLStreamException {
  dom.writeTo(name,w);
}

代码示例来源:origin: eclipse-ee4j/glassfish

protected void writeTo(XMLStreamWriter w) throws XMLStreamException {
  dom.writeTo(name,w);
}

代码示例来源:origin: org.glassfish.hk2/hk2-config

protected void writeTo(XMLStreamWriter w) throws XMLStreamException {
  dom.writeTo(name,w);
}

代码示例来源:origin: com.sun.enterprise/config

protected void writeTo(XMLStreamWriter w) throws XMLStreamException {
  dom.writeTo(name,w);
}

代码示例来源:origin: org.glassfish.main.admin/config-api

indentingXMLStreamWriter = new IndentingXMLStreamWriter(writer);
Dom configBeanDom = Dom.unwrap(configBean);
configBeanDom.writeTo(configBeanDom.model.getTagName(), indentingXMLStreamWriter);
indentingXMLStreamWriter.flush();
s = bos.toString();

相关文章