Click or drag to resize

TurtleParser Class

Parser for Turtle syntax.
Inheritance Hierarchy
SystemObject
  VDS.RDF.ParsingTurtleParser

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class TurtleParser : IRdfReader, 
	ITraceableParser, ITraceableTokeniser, ITokenisingParser

The TurtleParser type exposes the following members.

Constructors
  NameDescription
Public methodTurtleParser
Creates a new Turtle Parser.
Public methodTurtleParser(TokenQueueMode)
Creates a new Turtle Parser which uses the given Token Queue Mode.
Public methodTurtleParser(TurtleSyntax)
Creates a new Turtle Parser.
Public methodTurtleParser(TokenQueueMode, TurtleSyntax)
Creates a new Turtle Parser which uses the given Token Queue Mode.
Top
Properties
  NameDescription
Public propertyTokenQueueMode
Gets/Sets the token queue mode used.
Public propertyTraceParsing
Gets/Sets whether Parsing Trace is written to the Console.
Public propertyTraceTokeniser
Gets/Sets whether Tokeniser Trace is written to the Console.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(IGraph, StreamReader)
Loads a Graph by reading Turtle syntax from the given input.
Public methodLoad(IGraph, TextReader)
Loads a Graph by reading Turtle syntax from the given input.
Public methodLoad(IGraph, String)
Loads a Graph by reading Turtle syntax from the given file.
Public methodLoad(IRdfHandler, StreamReader)
Loads RDF by reading Turtle syntax from the given input using a RDF Handler.
Public methodLoad(IRdfHandler, TextReader)
Loads RDF by reading Turtle syntax from the given input using a RDF Handler.
Public methodLoad(IRdfHandler, String)
Loads RDF by reading Turtle syntax from the given file using a RDF Handler.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the String representation of the Parser which is a description of the syntax it parses.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventWarning
Event which is raised when the parser detects issues with the input which are non-fatal
Top
Thread Safety
Designed to be Thread Safe - should be able to call Load from multiple threads on different Graphs without issue.
See Also