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(java.lang.String filePath, int inputFormat)
public XmlDataSource(java.io.InputStream inputStream, int inputFormat)
Returns a stream representing the xml encapsulated by this class.
public java.io.InputStream GetData()
Returns the input format specified by the user.
public int GetDataFormat()