/** * 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); }
protected void writeTo(XMLStreamWriter w) throws XMLStreamException { dom.writeTo(name,w); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
protected void writeTo(XMLStreamWriter w) throws XMLStreamException { dom.writeTo(name,w); }
protected void writeTo(XMLStreamWriter w) throws XMLStreamException { dom.writeTo(name,w); }
protected void writeTo(XMLStreamWriter w) throws XMLStreamException { dom.writeTo(name,w); }
protected void writeTo(XMLStreamWriter w) throws XMLStreamException { dom.writeTo(name,w); }
indentingXMLStreamWriter = new IndentingXMLStreamWriter(writer); Dom configBeanDom = Dom.unwrap(configBean); configBeanDom.writeTo(configBeanDom.model.getTagName(), indentingXMLStreamWriter); indentingXMLStreamWriter.flush(); s = bos.toString();