Show / Hide Table of Contents

Class BaseStoreWriterContext

Base Class for Store Writer Context Objects.

Inheritance
System.Object
BaseStoreWriterContext
ThreadedStoreWriterContext
Implements
IStoreWriterContext
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class BaseStoreWriterContext : IStoreWriterContext

Constructors

| Improve this Doc View Source

BaseStoreWriterContext(ITripleStore, TextWriter, bool, bool)

Creates a new Base Store Writer Context with custom settings.

Declaration
public BaseStoreWriterContext(ITripleStore store, TextWriter output, bool prettyPrint, bool hiSpeedAllowed)
Parameters
Type Name Description
ITripleStore store

Store to write.

System.IO.TextWriter output

TextWriter being written to.

System.Boolean prettyPrint

Pretty Print Mode.

System.Boolean hiSpeedAllowed

High Speed Mode.

| Improve this Doc View Source

BaseStoreWriterContext(ITripleStore, TextWriter)

Creates a new Base Store Writer Context with default settings.

Declaration
public BaseStoreWriterContext(ITripleStore store, TextWriter output)
Parameters
Type Name Description
ITripleStore store

Store to write.

System.IO.TextWriter output

TextWriter being written to.

Fields

| Improve this Doc View Source

_hiSpeedAllowed

High Speed Mode setting.

Declaration
protected bool _hiSpeedAllowed
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

_prettyPrint

Pretty Print Mode setting.

Declaration
protected bool _prettyPrint
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

HighSpeedModePermitted

Gets/Sets the High Speed Mode used.

Declaration
public bool HighSpeedModePermitted { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Output

Gets the TextWriter being written to.

Declaration
public TextWriter Output { get; }
Property Value
Type Description
System.IO.TextWriter
| Improve this Doc View Source

PrettyPrint

Gets/Sets the Pretty Printing Mode used.

Declaration
public bool PrettyPrint { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Store

Gets the Store being written.

Declaration
public ITripleStore Store { get; }
Property Value
Type Description
ITripleStore

Methods

| Improve this Doc View Source

FormatUri(string)

Formats a URI as a String for full Output.

Declaration
public virtual string FormatUri(string u)
Parameters
Type Name Description
string u

URI.

Returns
Type Description
string
| Improve this Doc View Source

FormatUri(Uri)

Formats a URI as a String for full Output.

Declaration
public virtual string FormatUri(Uri u)
Parameters
Type Name Description
System.Uri u

URI.

Returns
Type Description
string

Implements

IStoreWriterContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseStoreWriterContext(ITripleStore, TextWriter, bool, bool)
    • BaseStoreWriterContext(ITripleStore, TextWriter)
  • Fields
    • _hiSpeedAllowed
    • _prettyPrint
  • Properties
    • HighSpeedModePermitted
    • Output
    • PrettyPrint
    • Store
  • Methods
    • FormatUri(string)
    • FormatUri(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX