SemWeb : SemWeb Namespace
NTriplesWriter Class

Writer that outputs triples in N-Triples format.

public class NTriplesWriter : RdfWriter

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

Members

See Also: Inherited members from RdfWriter.

Public Constructors

Initializes a new SemWeb.NTriplesWriter instance.
Initializes a new SemWeb.NTriplesWriter instance.

Public Properties

override
Namespaces NamespaceManager . Documentation for this section has not yet been entered.

Public Methods

override
Add (Statement)
Documentation for this section has not yet been entered.
override
Close ()
Documentation for this section has not yet been entered.

Protected Methods

AddFormulaStatement (Statement)
Adds the statement of a formula.
AddStatement (Statement)
Adds the statement.
FlushWriter ()
Flushes the output writer.
Write (char)
Writes the specified character to the output writer.
Write (string)
Writes the specified string to the output writer.
WriteBNode (BNode)
Writes the specified bNode to the output writer.
WriteEntity (Entity)
Writes the specified entity to the output writer.
WriteEscaped (string)
Writes the specified string to the output writer, escaping special characters.
WriteLine ()
Starts a new line in the output writer.
WriteLiteral (Literal)
Writes the literal to the output writer.
WriteLiteralValue (string)
Writes the literal value to the output writer.
WriteLiteralValueWithDataType (string, string)
Writes the literal with the specified data type to the output writer.
WriteLiteralValueWithLanguage (string, string)
Writes the literal with the specified language to the output writer.
WritePredicate (Entity)
Writes the specified predicate to the output writer.
WriteResource (Resource)
Writes the specified resource to the output writer.
WriteStatement (Statement)
Writes the statement to the output stream.
WriteStatementBody (Statement)
Writes the statement body to the output writer.
WriteUri (Entity)
Writes the URI of the specified entity to the output writer.

Member Details

NTriplesWriter Constructor

Initializes a new SemWeb.NTriplesWriter instance.

public NTriplesWriter (System.IO.TextWriter writer)

Parameters

writer
The writer.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

NTriplesWriter Constructor

Initializes a new SemWeb.NTriplesWriter instance.

public NTriplesWriter (string file)

Parameters

file
The File.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

Add Method

Documentation for this section has not yet been entered.

public override void Add (Statement statement)

Parameters

statement
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

AddFormulaStatement Method

Adds the statement of a formula.

protected virtual void AddFormulaStatement (Statement statement)

Parameters

statement
The statement.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

AddStatement Method

Adds the statement.

protected virtual void AddStatement (Statement statement)

Parameters

statement
The statement (not a formula).

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

Close Method

Documentation for this section has not yet been entered.

public override void Close ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

FlushWriter Method

Flushes the output writer.

protected void FlushWriter ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

Namespaces Property

Documentation for this section has not yet been entered.

public override NamespaceManager Namespaces { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

Write Method

Writes the specified character to the output writer.

protected void Write (char c)

Parameters

c
The character.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

Write Method

Writes the specified string to the output writer.

protected void Write (string s)

Parameters

s
The string.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteBNode Method

Writes the specified bNode to the output writer.

protected virtual void WriteBNode (BNode bNode)

Parameters

bNode
The bNode.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteEntity Method

Writes the specified entity to the output writer.

protected virtual void WriteEntity (Entity entity)

Parameters

entity
The entity.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteEscaped Method

Writes the specified string to the output writer, escaping special characters.

protected void WriteEscaped (string s)

Parameters

s
The string.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteLine Method

Starts a new line in the output writer.

protected virtual void WriteLine ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteLiteral Method

Writes the literal to the output writer.

protected virtual void WriteLiteral (Literal literal)

Parameters

literal
The literal.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteLiteralValue Method

Writes the literal value to the output writer.

protected virtual void WriteLiteralValue (string literal)

Parameters

literal
The literal.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteLiteralValueWithDataType Method

Writes the literal with the specified data type to the output writer.

protected virtual void WriteLiteralValueWithDataType (string literal, string dataType)

Parameters

literal
The literal.
dataType
The data type of the sliteral.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteLiteralValueWithLanguage Method

Writes the literal with the specified language to the output writer.

protected virtual void WriteLiteralValueWithLanguage (string literal, string language)

Parameters

literal
The literal.
language
The language of the literal.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WritePredicate Method

Writes the specified predicate to the output writer.

protected virtual void WritePredicate (Entity predicate)

Parameters

predicate
The predicate.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteResource Method

Writes the specified resource to the output writer.

protected virtual void WriteResource (Resource resource)

Parameters

resource
The resource.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteStatement Method

Writes the statement to the output stream.

protected virtual void WriteStatement (Statement statement)

Parameters

statement
The statement.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteStatementBody Method

Writes the statement body to the output writer.

protected virtual void WriteStatementBody (Statement statement)

Parameters

statement
The statement.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0

WriteUri Method

Writes the URI of the specified entity to the output writer.

protected virtual void WriteUri (Entity entity)

Parameters

entity
The entity.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.7.0