org.codehaus.xfire.util
Class DOMStreamWriter

java.lang.Object
  extended by org.codehaus.xfire.util.DOMStreamWriter

public class DOMStreamWriter
extends java.lang.Object

Writes out a org.w3c.dom tree to a STAX stream.

Since:
Oct 21, 2004
Author:
Dan Diephouse

Constructor Summary
DOMStreamWriter()
           
 
Method Summary
static void writeElement(org.w3c.dom.Element e, javax.xml.stream.XMLStreamWriter writer)
          Writes an Element to an XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMStreamWriter

public DOMStreamWriter()
Method Detail

writeElement

public static void writeElement(org.w3c.dom.Element e,
                                javax.xml.stream.XMLStreamWriter writer)
                         throws javax.xml.stream.XMLStreamException
Writes an Element to an XMLStreamWriter. The writer must already have started the doucment (via writeStartDocument()).

Parameters:
e -
writer -
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2004 Codehaus. All Rights Reserved.