Class RdfAParserContext<THtmlDocument>
Parser Context for RDFa Parsers.
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class RdfAParserContext<THtmlDocument> : BaseParserContext, IParserContext
  Type Parameters
| Name | Description | 
|---|---|
| THtmlDocument | 
Constructors
| Edit this page 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, 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.  | 
      
| bool | 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, 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.  | 
      
| bool | traceParsing | Whether to Trace Parsing.  | 
      
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.  | 
      
| bool | traceParsing | Whether to trace parsing.  | 
      
| IUriFactory | uriFactory | URI Factory to use.  | 
      
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.  | 
      
Properties
| Edit this page View SourceDefaultContext
Gets/Sets the Default Vocabulary.
Declaration
public IRdfAContext DefaultContext { get; set; }
  Property Value
| Type | Description | 
|---|---|
| IRdfAContext | 
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 | 
|---|---|
| bool |