Click or drag to resize

TriGParser Class

Parser for parsing TriG (Turtle with Named Graphs) RDF Syntax into a Triple Store.
Inheritance Hierarchy
SystemObject
  VDS.RDF.ParsingTriGParser

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class TriGParser : IStoreReader, ITraceableTokeniser, 
	ITokenisingParser

The TriGParser type exposes the following members.

Constructors
  NameDescription
Public methodTriGParser
Creates a TriG Parser than uses the default syntax.
Public methodTriGParser(TriGSyntax)
Creates a TriG Parser which uses the specified syntax.
Top
Properties
  NameDescription
Public propertySyntax
Gets/Sets the TriG syntax used.
Public propertyTokenQueueMode
Gets/Sets the token queue mode used.
Public propertyTraceTokeniser
Gets/Sets whether Tokeniser Tracing is used.
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(IRdfHandler, TextReader)
Loads the named Graphs from the TriG input using the given RDF Handler.
Public methodLoad(IRdfHandler, String)
Loads the named Graphs from the TriG input using the given RDF Handler.
Public methodLoad(ITripleStore, TextReader)
Loads the named Graphs from the TriG input into the given Triple Store.
Public methodLoad(ITripleStore, String)
Loads the named Graphs from the TriG input into the given Triple Store.
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 Readers can raise when they notice syntax that is ambigious/deprecated etc which can still be parsed
Top
Remarks
The Default Graph (if any) will be given the special Uri. trig:default-graph
See Also