Show / Hide Table of Contents

Interface IObjectParser<T>

Interface for parsers that generate objects of some sort.
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public interface IObjectParser<T>
Type Parameters
Name Description
T Generated Object Type.
Remarks

Primarily used as a marker interface in relation to MimeTypesHelper to provide a mechanism whereby parsers for arbitrary objects can be registered and associated with MIME Types and File Extensions.

Methods

| Improve this Doc View Source

Parse(StreamReader)

Parses an Object from an Input Stream.
Declaration
T Parse(StreamReader input)
Parameters
Type Name Description
System.IO.StreamReader input Input Stream.
Returns
Type Description
T
| Improve this Doc View Source

Parse(TextReader)

Parses an Object from a Text Stream.
Declaration
T Parse(TextReader input)
Parameters
Type Name Description
System.IO.TextReader input Text Stream.
Returns
Type Description
T
| Improve this Doc View Source

ParseFromFile(String)

Parses an Object from a File.
Declaration
T ParseFromFile(string file)
Parameters
Type Name Description
System.String file Filename.
Returns
Type Description
T
| Improve this Doc View Source

ParseFromString(String)

Parses an Object from a String.
Declaration
T ParseFromString(string data)
Parameters
Type Name Description
System.String data String.
Returns
Type Description
T
| Improve this Doc View Source

ParseFromString(SparqlParameterizedString)

Parses an Object from a Parameterized String.
Declaration
T ParseFromString(SparqlParameterizedString cmdString)
Parameters
Type Name Description
SparqlParameterizedString cmdString Parameterized String.
Returns
Type Description
T

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Parse(StreamReader)
    • Parse(TextReader)
    • ParseFromFile(String)
    • ParseFromString(String)
    • ParseFromString(SparqlParameterizedString)
  • Extension Methods
Back to top Generated by DocFX