Class SparqlTokeniser
A Class for Reading an Input Stream and generating SPARQL Tokens.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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. |