Class StreamingEventGenerator
A JIT event generator for RDF/XML parsing that uses Streaming parsing to parse the events.
Inherited Members
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class StreamingEventGenerator : IRdfXmlJitEventGenerator, IJitEventGenerator<IRdfXmlEvent>, IEventGenerator<IRdfXmlEvent>
Remarks
Currently unimplemented stub class.
Constructors
| Edit this page View SourceStreamingEventGenerator(Stream, string, XmlReaderSettings)
Creates a new Streaming Event Generator.
Declaration
public StreamingEventGenerator(Stream stream, string baseUri = null, XmlReaderSettings xmlReaderSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Stream. |
string | baseUri | Base URI. |
XmlReaderSettings | xmlReaderSettings | The settings to pass through to the underlying XMLReader instance. |
StreamingEventGenerator(TextReader, string, XmlReaderSettings)
Creates a new Streaming Event Generator.
Declaration
public StreamingEventGenerator(TextReader reader, string baseUri = null, XmlReaderSettings xmlReaderSettings = null)
Parameters
Type | Name | Description |
---|---|---|
TextReader | reader | Text Reader. |
string | baseUri | Base URI. |
XmlReaderSettings | xmlReaderSettings | The settings to pass through to the underlying XMLReader instance. |
StreamingEventGenerator(string, string, XmlReaderSettings)
Creates a new Streaming Event Generator.
Declaration
public StreamingEventGenerator(string file, string baseUri = null, XmlReaderSettings xmlReaderSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | file | Filename. |
string | baseUri | Base URI. |
XmlReaderSettings | xmlReaderSettings | Settings to pass through to the underlying XML parser. |
Properties
| Edit this page View SourceFinished
Gets whether the event generator has finished generating events.
Declaration
public bool Finished { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceGetNextEvent()
Gets the next event from the XML stream.
Declaration
public IRdfXmlEvent GetNextEvent()
Returns
Type | Description |
---|---|
IRdfXmlEvent |