Class SparqlTokeniser
A Class for Reading an Input Stream and generating SPARQL Tokens.
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: VDS.RDF.Parsing.Tokens
Assembly: dotNetRDF.dll
Syntax
public class SparqlTokeniser : BaseTokeniser, ITokeniser
Constructors
| Improve this Doc View SourceSparqlTokeniser(StreamReader, SparqlQuerySyntax)
Creates a new Instance of the Tokeniser.
Declaration
public SparqlTokeniser(StreamReader input, SparqlQuerySyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
System.IO.StreamReader | input | The Input Stream to generate Tokens from. |
SparqlQuerySyntax | syntax | Syntax Mode to use when parsing. |
SparqlTokeniser(TextReader, SparqlQuerySyntax)
Creates a new Instance of the Tokeniser.
Declaration
public SparqlTokeniser(TextReader input, SparqlQuerySyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | The Input to generate Tokens from. |
SparqlQuerySyntax | syntax | Syntax Mode to use when parsing. |
SparqlTokeniser(ParsingTextReader, SparqlQuerySyntax)
Creates a new Instance of the Tokeniser.
Declaration
public SparqlTokeniser(ParsingTextReader input, SparqlQuerySyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | The Input Stream to generate Tokens from. |
SparqlQuerySyntax | syntax | Syntax Mode to use when parsing. |
Methods
| Improve this Doc View SourceGetNextToken()
Gets the next parseable Token from the Input or raises an Error.
Declaration
public override IToken GetNextToken()
Returns
Type | Description |
---|---|
IToken |
Overrides
Exceptions
Type | Condition |
---|---|
RdfParseException | Occurs when a Token cannot be parsed. |