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