Class SparqlXmlParser
Parser for SPARQL Results XML Format.
Inheritance
System.Object
SparqlXmlParser
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)
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public class SparqlXmlParser : ISparqlResultsReader
Methods
| Improve this Doc View SourceLoad(ISparqlResultsHandler, StreamReader)
Loads a Result Set from an Input using a Results Handler.
Declaration
public void Load(ISparqlResultsHandler handler, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
System.IO.StreamReader | input | Input Stream to read from. |
Load(ISparqlResultsHandler, TextReader)
Loads a Result Set from an Input using a Results Handler.
Declaration
public void Load(ISparqlResultsHandler handler, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
System.IO.TextReader | input | Input to read from. |
Load(ISparqlResultsHandler, String)
Loads a Result Set from a file using a Results Handler.
Declaration
public void Load(ISparqlResultsHandler handler, string filename)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResultsHandler | handler | Results Handler to use. |
System.String | filename | File to read from. |
Load(SparqlResultSet, StreamReader)
Loads a Result Set from an Input Stream.
Declaration
public void Load(SparqlResultSet results, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.StreamReader | input | Input Stream to read from. |
Load(SparqlResultSet, TextReader)
Loads a Result Set from an Input.
Declaration
public void Load(SparqlResultSet results, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.IO.TextReader | input | Input to read from. |
Load(SparqlResultSet, String)
Loads a Result Set from a File.
Declaration
public void Load(SparqlResultSet results, string filename)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | results | Result Set to load into. |
System.String | filename | File to load from. |
ToString()
Gets the String representation of the Parser which is a description of the syntax it parses.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
| Improve this Doc View SourceWarning
Event raised when a non-fatal issue with the SPARQL Results being parsed is detected
Declaration
public event SparqlWarning Warning
Event Type
Type | Description |
---|---|
SparqlWarning |