Class RdfAParserContext<THtmlDocument>
Parser Context for RDFa Parsers.
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.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, bool)
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(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(IRdfHandler, THtmlDocument, bool, IUriFactory)
Creates a new parser context.
Declaration
public RdfAParserContext(IRdfHandler handler, THtmlDocument document, bool traceParsing, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
THtmlDocument | document | HTML document. |
System.Boolean | traceParsing | Whether to trace parsing. |
IUriFactory | uriFactory | URI Factory to use. |
RdfAParserContext(IRdfHandler, THtmlDocument, bool)
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. |
RdfAParserContext(IRdfHandler, THtmlDocument, IUriFactory)
Creates a new Parser Context.
Declaration
public RdfAParserContext(IRdfHandler handler, THtmlDocument document, IUriFactory uriFactory)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
THtmlDocument | document | HTML Document. |
IUriFactory | uriFactory | URI Factory to use. |
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. |
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 |