Interface IXmlParserFactory
The interface in which methods for creating xml parsers are declared.
public interface IXmlParserFactory
Methods
CreateXmlReaderInstance(Stream, XmlParserContext)
Creates the instance of System.Xml.XmlReader.
XmlReader CreateXmlReaderInstance(Stream stream, XmlParserContext inputContext)
Parameters
stream
Streamthe stream that contains the XML data.
inputContext
XmlParserContextthe context information required to parse the XML fragment.
Returns
- XmlReader
an object that is used to read the XML data in the stream.
CreateXmlReaderInstance(TextReader)
Creates the instance of System.Xml.XmlReader.
XmlReader CreateXmlReaderInstance(TextReader textReader)
Parameters
textReader
TextReaderthe text reader from which to read the XML data.
Returns
- XmlReader
an object that is used to read the XML data in the stream.