Class TriGTokeniser
Tokeniser for TriG (Turtle with Named Graphs) RDF Syntax.
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 TriGTokeniser : BaseTokeniser, ITokeniser
Constructors
| Improve this Doc View SourceTriGTokeniser(StreamReader)
Creates a new TriG Tokeniser which reads Tokens from the given Stream.
Declaration
public TriGTokeniser(StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.StreamReader | input | Stream to read Tokens from. |
TriGTokeniser(StreamReader, TriGSyntax)
Creates a new TriG Tokeniser which reads Tokens from the given Stream using the specified syntax.
Declaration
public TriGTokeniser(StreamReader input, TriGSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
System.IO.StreamReader | input | Stream to read Tokens from. |
TriGSyntax | syntax | Syntax. |
TriGTokeniser(TextReader)
Creates a new TriG Tokeniser which reads Tokens from the given Input.
Declaration
public TriGTokeniser(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input to read Tokens from. |
TriGTokeniser(TextReader, TriGSyntax)
Creates a new TriG Tokeniser which reads Tokens from the given Input.
Declaration
public TriGTokeniser(TextReader input, TriGSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | Input to read Tokens from. |
TriGSyntax | syntax | Syntax. |
TriGTokeniser(ParsingTextReader)
Creates a new TriG Tokeniser which reads Tokens from the given Stream.
Declaration
public TriGTokeniser(ParsingTextReader input)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | Stream to read Tokens from. |
TriGTokeniser(ParsingTextReader, TriGSyntax)
Creates a new TriG Tokeniser which reads Tokens from the given Stream.
Declaration
public TriGTokeniser(ParsingTextReader input, TriGSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | Stream to read Tokens from. |
TriGSyntax | syntax | Syntax. |
Methods
| Improve this Doc View SourceGetNextToken()
Gets the next available Token from the Input Stream.
Declaration
public override IToken GetNextToken()
Returns
Type | Description |
---|---|
IToken |