Class Notation3Tokeniser
A Class for Reading an Input Stream and generating Notation 3 Tokens from it.
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 Notation3Tokeniser : BaseTokeniser, ITokeniser
Constructors
| Improve this Doc View SourceNotation3Tokeniser(StreamReader)
Creates a new Instance of the Tokeniser.
Declaration
public Notation3Tokeniser(StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.StreamReader | input | The Input Stream to generate Tokens from. |
Notation3Tokeniser(TextReader)
Creates a new Instance of the Tokeniser.
Declaration
public Notation3Tokeniser(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | The Input to generate Tokens from. |
Notation3Tokeniser(ParsingTextReader)
Creates a new Instance of the Tokeniser.
Declaration
public Notation3Tokeniser(ParsingTextReader input)
Parameters
Type | Name | Description |
---|---|---|
ParsingTextReader | input | The Input Stream to generate Tokens from. |
Fields
| Improve this Doc View SourceValidQNamesPattern
Pattern for Valid QNames that use only the Latin Alphabet.
Declaration
public const string ValidQNamesPattern = "^(([_A-Za-z])|([_A-Za-z][\\w\\-]*))?:?[_A-Za-z][\\w\\-]*$"
Field Value
Type | Description |
---|---|
System.String |
ValidVarNamesPattern
Patter for Valid Variable Names.
Declaration
public const string ValidVarNamesPattern = "^\\?[_A-Za-z][\\w\\-]*$"
Field Value
Type | Description |
---|---|
System.String |
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. |