gr.uoa.di.madgik.searchlibrary.operatorlibrary.extjdbc
Class JdbcResultElement
java.lang.Object
gr.uoa.di.madgik.searchlibrary.operatorlibrary.extjdbc.JdbcResultElement
public class JdbcResultElement
- extends Object
This class acts as a container for the external service to fill with results.
- Author:
- UoA
|
Method Summary |
static String |
rs2XML(String[] columnNames,
ResultSet rs)
Tranform each tuple to its respective XML representation, with each element correspond to a tuple attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcResultElement
public JdbcResultElement()
rs2XML
public static String rs2XML(String[] columnNames,
ResultSet rs)
throws Exception
- Tranform each tuple to its respective XML representation, with each element correspond to a tuple attribute.
- Parameters:
columnNames - The names of the columsrs - The current result set
- Returns:
- The XML representation of the tuple
- Throws:
Exception - An unrecoverable for the operation error occured
Copyright © 2013. All Rights Reserved.