Class HtmlSchemaWriter
HTML Schema Writer is a HTML Writer which writes a human readable description of a Schema/Ontology.
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)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public class HtmlSchemaWriter : BaseHtmlWriter, IHtmlWriter, IRdfWriter
Methods
| Improve this Doc View SourceSave(IGraph, TextWriter)
Saves the Result Set to the given Stream as an XHTML Table with embedded RDFa.
Declaration
public void Save(IGraph g, TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to save. |
System.IO.TextWriter | output | Stream to save to. |
Save(IGraph, TextWriter, Boolean)
Method for saving a graph to a concrete RDF syntax via some arbitray System.IO.TextWriter.
Declaration
public void Save(IGraph g, TextWriter output, bool leaveOpen)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | The graph to save. |
System.IO.TextWriter | output | The System.IO.TextWriter to save the graph to. |
System.Boolean | leaveOpen | to leave the stream open when the method completes;. otherwise. |
Exceptions
Type | Condition |
---|---|
RdfException | Thrown if the RDF in the graph is not representable by the writer. |
System.IO.IOException | Thrown if the writer is unable to write to the underlying storage of the System.IO.TextWriter specified in the output . |
Save(IGraph, String)
Saves the Graph to the given File as an XHTML Table with embedded RDFa.
Declaration
public void Save(IGraph g, string filename)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to save. |
System.String | filename | File to save to. |
ToString()
Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
| Improve this Doc View SourceWarning
Event which is raised if there is a non-fatal error with the RDF being output
Declaration
public event RdfWriterWarning Warning
Event Type
Type | Description |
---|---|
RdfWriterWarning |