|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.connector.xml.streaming.ElementProcessor
public class ElementProcessor
The ElementProcessor extracts data from a Node based upon paths defined in an ExecutionInfo (aka columns in a query request). The processor is also responsible putting the cacheKey in the response row.
Constructor Summary | |
---|---|
ElementProcessor(ExecutionInfo info)
|
Method Summary | |
---|---|
void |
insertResponseId(Document xml,
java.util.List<java.lang.Object[]> result)
|
java.lang.Object[] |
process(nu.xom.Node element)
Iterate down the element getting column data from the matching paths. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementProcessor(ExecutionInfo info) throws ConnectorException
ConnectorException
Method Detail |
---|
public java.lang.Object[] process(nu.xom.Node element)
element
- xml
-
public void insertResponseId(Document xml, java.util.List<java.lang.Object[]> result)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |