org.apache.neethi.builders.converters
Class StaxToDOMConverter

java.lang.Object
  extended by org.apache.neethi.builders.converters.AbstractStaxConverter
      extended by org.apache.neethi.builders.converters.StaxToDOMConverter
All Implemented Interfaces:
Converter<javax.xml.stream.XMLStreamReader,Element>

public class StaxToDOMConverter
extends AbstractStaxConverter
implements Converter<javax.xml.stream.XMLStreamReader,Element>


Constructor Summary
StaxToDOMConverter()
           
 
Method Summary
 Element convert(javax.xml.stream.XMLStreamReader reader)
           
static void readDocElements(Document doc, Node parent, javax.xml.stream.XMLStreamReader reader)
           
 
Methods inherited from class org.apache.neethi.builders.converters.AbstractStaxConverter
getAttributes, getChildren, getQName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.neethi.builders.converters.Converter
getAttributes, getChildren, getQName
 

Constructor Detail

StaxToDOMConverter

public StaxToDOMConverter()
Method Detail

convert

public Element convert(javax.xml.stream.XMLStreamReader reader)
Specified by:
convert in interface Converter<javax.xml.stream.XMLStreamReader,Element>
Returns:
the result of the conversion; may not be null

readDocElements

public static void readDocElements(Document doc,
                                   Node parent,
                                   javax.xml.stream.XMLStreamReader reader)
                            throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.