com.metamatrix.connector.xml.streaming
Class StreamingRowCollector

java.lang.Object
  extended by com.metamatrix.connector.xml.streaming.StreamingRowCollector

public class StreamingRowCollector
extends java.lang.Object


Constructor Summary
StreamingRowCollector(java.util.Map<java.lang.String,java.lang.String> namespaces, org.xml.sax.XMLReader reader, ElementProcessor elemProcessor)
           
 
Method Summary
 java.util.List<java.lang.Object[]> getElements(Document xml, java.util.List<java.lang.String> xPaths)
          Builds a list of rows from an InputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingRowCollector

public StreamingRowCollector(java.util.Map<java.lang.String,java.lang.String> namespaces,
                             org.xml.sax.XMLReader reader,
                             ElementProcessor elemProcessor)
Method Detail

getElements

public java.util.List<java.lang.Object[]> getElements(Document xml,
                                                      java.util.List<java.lang.String> xPaths)
                                               throws ConnectorException,
                                                      InvalidPathException
Builds a list of rows from an InputStream

Parameters:
xml -
xPaths -
Returns:
Throws:
ConnectorException
InvalidPathException


Copyright © 2009. All Rights Reserved.