PrettyRdfXmlWriter Class |
Namespace: VDS.RDF.Writing
The PrettyRdfXmlWriter type exposes the following members.
Name | Description | |
---|---|---|
PrettyRdfXmlWriter |
Creates a new RDF/XML Writer.
| |
PrettyRdfXmlWriter(Int32) |
Creates a new RDF/XML Writer.
| |
PrettyRdfXmlWriter(Int32, Boolean) |
Creates a new RDF/XML Writer.
| |
PrettyRdfXmlWriter(Int32, Boolean, Boolean) |
Creates a new RDF/XML Writer.
|
Name | Description | |
---|---|---|
CompressionLevel |
Gets/Sets the Compression Level in use.
| |
DefaultNamespaces |
Gets/Sets the Default Namespaces that are always available.
| |
PrettyPrintMode |
Gets/Sets Pretty Print Mode for the Writer.
| |
TripleFormatterType |
Gets the type of the Triple Formatter used by the writer.
| |
UseAttributes |
Gets/Sets whether triples which have a literal object will be expressed as attributes rather than elements where possible (defaults to true).
| |
UseDtd |
Gets/Sets whether DTDs are used in the output.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save(IGraph, TextWriter) |
Method for Saving a Graph to a Concrete RDF Syntax via some arbitrary TextWriter.
(Inherited from BaseRdfWriter.) | |
Save(IGraph, String) |
Saves a Graph in RDF/XML syntax to the given File.
(Overrides BaseRdfWriterSave(IGraph, String).) | |
Save(IGraph, TextWriter, Boolean) |
Method for saving a graph to a concrete RDF syntax via some arbitray TextWriter.
(Inherited from BaseRdfWriter.) | |
SaveInternal |
Saves a Graph to an arbitrary output stream.
(Overrides BaseRdfWriterSaveInternal(IGraph, TextWriter).) | |
ToString |
Gets the String representation of the writer which is a description of the syntax it produces.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Warning |
Event which is raised when there is a non-fatal issue with the RDF being output
(Overrides BaseRdfWriterWarning.) |
This is a fast writer based on the fast writing technique used in the other non-RDF/XML Writers.
Note: If the Graph to be serialized makes heavy use of collections it may result in a StackOverflowException. To address this set the CompressionLevel property to < 5.