Class Ecrion.Ultrascale.XMLDataSource

Top Previous Topic Next Topic  Print this topic

XMLDataSource class is an implementation of IDataSource interface that encapsulates an XML document.

 

Methods

 

Name

Description

GetData

Returns the XML data.

GetDataFormat

Returns the XML input format.

 

 

Constructors

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)

 

 

 

GetData

Returns a stream representing the xml encapsulated by this class.

 

 

       public Stream GetData()

 

 

                       

GetDataFormat

 

Returns the input format specified by the user.

 

 

       public Engine.InputFormat GetDataFormat()