EspressReport 6.6

quadbase.reportdesigner.util
Class XMLResultSet

java.lang.Object
  extended by quadbase.reportdesigner.util.XMLResultSet
All Implemented Interfaces:
IResultSet, IRow

public class XMLResultSet
extends java.lang.Object
implements IResultSet

This class implements a result set on a file of type .xml


Field Summary
static java.lang.String QUADBASE_NULL
           
 
Constructor Summary
XMLResultSet(java.io.File file)
          Create a new XMLResultSet using the specified file
XMLResultSet(java.io.InputStream xmlStream)
          Create a new XMLResultSet using the specified InputStream
XMLResultSet(java.lang.String uri)
          Create a new XMLResultSet using the specified string
 
Method Summary
 void close()
          For internal use
 IRSMetaData getMetaData()
          Get original data
 java.lang.Object getObject(int col)
          Get object of specified column
 boolean next()
          For internal use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUADBASE_NULL

public static final java.lang.String QUADBASE_NULL
See Also:
Constant Field Values
Constructor Detail

XMLResultSet

public XMLResultSet(java.lang.String uri)
             throws java.lang.Exception
Create a new XMLResultSet using the specified string

Throws:
java.lang.Exception

XMLResultSet

public XMLResultSet(java.io.File file)
             throws java.lang.Exception
Create a new XMLResultSet using the specified file

Throws:
java.lang.Exception

XMLResultSet

public XMLResultSet(java.io.InputStream xmlStream)
             throws java.lang.Exception
Create a new XMLResultSet using the specified InputStream

Throws:
java.lang.Exception
Method Detail

close

public void close()
For internal use

Specified by:
close in interface IResultSet

getMetaData

public IRSMetaData getMetaData()
Get original data

Specified by:
getMetaData in interface IResultSet

next

public boolean next()
For internal use

Specified by:
next in interface IResultSet

getObject

public java.lang.Object getObject(int col)
Get object of specified column

Specified by:
getObject in interface IRow
Parameters:
col - The column number for the field, beginning with 1.
Returns:
The data value stored in that column field.

EspressReport 6.6