Class BaseStoreWriterContext
Base Class for Store Writer Context Objects.
Implements
Inherited Members
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class BaseStoreWriterContext : IStoreWriterContext
Constructors
| Edit this page View SourceBaseStoreWriterContext(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. |
TextWriter | output | TextWriter being written to. |
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. |
TextWriter | output | TextWriter being written to. |
bool | prettyPrint | Pretty Print Mode. |
bool | hiSpeedAllowed | High Speed Mode. |
Fields
| Edit this page View Source_hiSpeedAllowed
High Speed Mode setting.
Declaration
protected bool _hiSpeedAllowed
Field Value
Type | Description |
---|---|
bool |
_prettyPrint
Pretty Print Mode setting.
Declaration
protected bool _prettyPrint
Field Value
Type | Description |
---|---|
bool |
Properties
| Edit this page View SourceHighSpeedModePermitted
Gets/Sets the High Speed Mode used.
Declaration
public bool HighSpeedModePermitted { get; set; }
Property Value
Type | Description |
---|---|
bool |
Output
Gets the TextWriter being written to.
Declaration
public TextWriter Output { get; }
Property Value
Type | Description |
---|---|
TextWriter |
PrettyPrint
Gets/Sets the Pretty Printing Mode used.
Declaration
public bool PrettyPrint { get; set; }
Property Value
Type | Description |
---|---|
bool |
Store
Gets the Store being written.
Declaration
public ITripleStore Store { get; }
Property Value
Type | Description |
---|---|
ITripleStore |
Methods
| Edit this page View SourceFormatUri(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 |
FormatUri(Uri)
Formats a URI as a String for full Output.
Declaration
public virtual string FormatUri(Uri u)
Parameters
Type | Name | Description |
---|---|---|
Uri | u | URI. |
Returns
Type | Description |
---|---|
string |