Click or drag to resize

TriXParser Class

Parser for parsing TriX (a named Graph XML format for RDF).
Inheritance Hierarchy
SystemObject
  VDS.RDF.ParsingTriXParser

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class TriXParser : IStoreReader

The TriXParser type exposes the following members.

Constructors
  NameDescription
Public methodTriXParser
Initializes a new instance of the TriXParser class
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 a RDF dataset using a RDF Handler.
Public methodLoad(IRdfHandler, String)
Loads the RDF Dataset from the TriX input using a RDF Handler.
Public methodLoad(ITripleStore, TextReader)
Loads the RDF Dataset from the TriX input into the given Triple Store.
Public methodLoad(ITripleStore, String)
Loads the RDF Dataset from the TriX 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
Fields
  NameDescription
Public fieldStatic memberTriXNamespaceURI
Current W3C Namespace Uri for TriX.
Top
Remarks

The Default Graph (if any) will be given the special Uri. trix:default-graph

TriX permits Graphs to be named with Blank Node IDs, since the library only supports Graphs named with URIs these are converted to URIs of the form. trix:local:ID

See Also