Interface IXMLReader
Interface for an XML filter.
Assembly: Lucene.Net.Benchmark.dll
Syntax
public interface IXMLReader
Remarks
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. Seehttp://www.saxproject.org for further information.
An XML filter is like an XML reader, except that it obtains its events from another XML reader rather than a primary source like an XML document or database.Filters can modify a stream of events as they pass on to the final application.
The IXMLFilter helper class provides a convenient base for creating SAX2 filters, by passing on all IEntityResolver, IDTDHandler, IContentHandler and IErrorHandler events automatically.
Properties
Name | Description |
---|---|
ContentHandler | Gets or Sets a content event handler. |
DTDHandler | Gets or Sets a DTD event handler. |
EntityResolver | Gets or Sets an entity resolver. |
ErrorHandler | Gets or Sets an error event handler. |
Methods
Name | Description |
---|---|
GetFeature(String) | Look up the value of a feature flag. |
GetProperty(String) | Look up the value of a property. |
Parse(InputSource) | Parse an XML document. |
Parse(String) | Parse an XML document from a system identifier (URI). |
SetFeature(String, Boolean) | Set the value of a feature flag. The feature name is any fully-qualified URI. It is possible for an XMLReader to expose a feature value but to be unable to change the current value. Some feature values may be immutable or mutable only in specific contexts, such as before, during, or after a parse. All XMLReaders are required to support setting http://xml.org/sax/features/namespaces to true and http://xml.org/sax/features/namespace-prefixes to false. |
SetProperty(String, Object) | Set the value of a property. |