Class BaseStoreWriterContext
Base Class for Store Writer Context Objects.
Implements
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 SourceBaseStoreWriterContext(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. |
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 |
_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 |
---|---|---|
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 |
---|---|---|
System.Uri | u | URI. |
Returns
Type | Description |
---|---|
string |