XMLDataSource class is an implementation of IDataSource interface that encapsulates an XML document.
Methods
Name |
Description |
Returns the XML data. |
|
Returns the XML input format. |
An XMLDataSource can be created from an XML file path or a stream with an additional Engine.InputFormat to be specified.
public XmlDataSource(String filePath, Engine.InputFormat inputFormat)
public XmlDataSource(Stream inputStream, Engine.InputFormat inputFormat)
Returns a stream representing the xml encapsulated by this class.
public Stream GetData()
Returns the input format specified by the user.
public Engine.InputFormat GetDataFormat()