public class IlvXMLDataSource extends IlvAbstractDataSource
Constructor and Description |
---|
IlvXMLDataSource()
Creates a new
IlvXMLDataSource . |
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Returns the XML URI/filename.
|
String[] |
getStyleSheets()
Returns an array of the style sheets URLs associated with the XML document.
|
void |
load(InputSource src,
IlvXMLDataReader reader)
Loads data sets from the specified
InputSource , using the
specified reader. |
void |
setFilename(String filename)
Sets the XML URI/filename.
|
addDataSet, addDataSet, addDataSourceListener, containsDataSet, endBatch, fireDataSourceEvent, getDataSet, getDataSetByName, getDataSetCount, getDataSetIndex, getDataSetIterator, getDataSetList, getDataSets, initDataSets, removeDataSourceListener, setDataSet, setDataSets, startBatch
public final String getFilename()
public String[] getStyleSheets()
null
if none is specified, or if no files has been loaded yet.public void setFilename(String filename) throws Exception
null
nor empty), reads the file.Exception
public void load(InputSource src, IlvXMLDataReader reader) throws Exception
InputSource
, using the
specified reader.
The contents of this data source is reset with the loaded data sets.Exception
- Any exceptions passed through from the reader.IlvXMLDataReader.read(InputSource)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.