Class RdfAParserContext<THtmlDocument>
Parser Context for RDFa Parsers.
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.Parsing.Contexts
Assembly: dotNetRDF.dll
Syntax
public class RdfAParserContext<THtmlDocument> : BaseParserContext, IParserContext
Type Parameters
Name | Description |
---|---|
THtmlDocument |
Constructors
| Improve this Doc View SourceRdfAParserContext(IGraph, THtmlDocument)
Creates a new Parser Context.
Declaration
public RdfAParserContext(IGraph g, THtmlDocument document)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
THtmlDocument | document | XML Document. |
RdfAParserContext(IGraph, THtmlDocument, Boolean)
Creates a new Parser Context.
Declaration
public RdfAParserContext(IGraph g, THtmlDocument document, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
THtmlDocument | document | HTML Document. |
System.Boolean | traceParsing | Whether to Trace Parsing. |
RdfAParserContext(IRdfHandler, THtmlDocument)
Creates a new Parser Context.
Declaration
public RdfAParserContext(IRdfHandler handler, THtmlDocument document)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
THtmlDocument | document | HTML Document. |
RdfAParserContext(IRdfHandler, THtmlDocument, Boolean)
Creates a new Parser Context.
Declaration
public RdfAParserContext(IRdfHandler handler, THtmlDocument document, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
THtmlDocument | document | HTML Document. |
System.Boolean | traceParsing | Whether to Trace Parsing. |
Properties
| Improve this Doc View SourceDefaultVocabulary
Gets/Sets the Default Vocabularly.
Declaration
public IRdfAVocabulary DefaultVocabulary { get; set; }
Property Value
Type | Description |
---|---|
IRdfAVocabulary |
Document
Gets the HTML Document.
Declaration
public THtmlDocument Document { get; }
Property Value
Type | Description |
---|---|
THtmlDocument |
Syntax
Gets/Sets the RDFa syntax in use.
Declaration
public RdfASyntax Syntax { get; set; }
Property Value
Type | Description |
---|---|
RdfASyntax |
XmlBaseAllowed
Gets/Sets whether xml:base is allowed in the embedded RDF.
Declaration
public bool XmlBaseAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |