|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.enablement.oda.xml.util.SaxParserConsumer
public class SaxParserConsumer
This class is an implementation of ISaxParserConsumer. The instance of this class deligate the communication between ResultSet and SaxParser, and does the majority of result-set population job.
| Constructor Summary | |
|---|---|
SaxParserConsumer(RelationInformation rinfo,
IXMLSource xmlSource,
java.lang.String tName)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the SaxParserConsumer. |
void |
endElement(XMLPath path)
|
void |
finish()
|
int |
getColumnIndex(java.lang.String columnName)
|
java.lang.String[] |
getRowValue()
|
void |
manipulateData(XMLPath path,
java.lang.String value)
The method is used to populate one column that is specified by path in current row. |
boolean |
next()
Make the cursor forward. |
void |
startElement(XMLPath path)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaxParserConsumer(RelationInformation rinfo,
IXMLSource xmlSource,
java.lang.String tName)
throws OdaException
rs - rinfo - fileName - tName -
OdaException| Method Detail |
|---|
public java.lang.String[] getRowValue()
public void manipulateData(XMLPath path,
java.lang.String value)
ISaxParserConsumer
manipulateData in interface ISaxParserConsumerpublic void startElement(XMLPath path)
startElement in interface ISaxParserConsumerpublic void endElement(XMLPath path)
endElement in interface ISaxParserConsumerpublic int getColumnIndex(java.lang.String columnName)
public boolean next()
throws OdaException
OdaExceptionpublic void finish()
finish in interface ISaxParserConsumerpublic void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||