Class SchemaGraphHandler
HTTP Handler for serving Graphs in ASP.Net applications
Inherited Members
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.Web.dll
Syntax
public class SchemaGraphHandler : GraphHandler
Remarks
Configured exactly in the same way as GraphHandler - only difference in functionality is that if the requested Content Type (based on the Accept: header) is HTML then the HtmlSchemaWriter will be used to provide a human readable schema document rather than the standard HtmlWriter which justs creates a table of Triples. Remember though that this means that the HTML output will not contain embedded RDFa as the HtmlSchemaWriter does not embed any as opposed to the standard HtmlWriter which does.
Methods
| Improve this Doc View SourceSelectWriter(MimeTypeDefinition)
Overrides writer Selection to use the HtmlSchemaWriter whenever the HtmlWriter would normally have been used
Declaration
protected override IRdfWriter SelectWriter(MimeTypeDefinition definition)
Parameters
Type | Name | Description |
---|---|---|
MimeTypeDefinition | definition | MIME Type Definition selected based on the Requests Accept header |
Returns
Type | Description |
---|---|
IRdfWriter |