Class XmlReaderSettingsFactory
Implementation of IGetsXmlReaderSettings which gets a resolver that will parse DTDs and which uses a local set of XHTML DTDs.
Inheritance
System.Object
XmlReaderSettingsFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Dom
Assembly: ZptSharp.Xml.dll
Syntax
public class XmlReaderSettingsFactory : IGetsXmlReaderSettings
Constructors
| Improve this Doc View SourceXmlReaderSettingsFactory(IGetsXhtmlDtds, IServiceProvider)
Initializes a new instance of the XmlReaderSettingsFactory class.
Declaration
public XmlReaderSettingsFactory(IGetsXhtmlDtds dtdProvider, IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IGetsXhtmlDtds | dtdProvider | A DTD provider service. |
System.IServiceProvider | provider | The service provider. |
Properties
| Improve this Doc View SourceResolver
Gets the XML resolver which will be returned within the output of GetReaderSettings().
Declaration
public XmlResolver Resolver { get; }
Property Value
Type | Description |
---|---|
System.Xml.XmlResolver |
Methods
| Improve this Doc View SourceGetReaderSettings()
Gets the reader settings.
Declaration
public XmlReaderSettings GetReaderSettings()
Returns
Type | Description |
---|---|
System.Xml.XmlReaderSettings | The reader settings. |