Show / Hide Table of Contents

Class RdfAParserContext<THtmlDocument>

Parser Context for RDFa Parsers.

Inheritance
object
BaseParserContext
RdfAParserContext<THtmlDocument>
Implements
IParserContext
Inherited Members
BaseParserContext._handler
BaseParserContext._traceParsing
BaseParserContext.Handler
BaseParserContext.UriFactory
BaseParserContext.TraceParsing
BaseParserContext.Namespaces
BaseParserContext.BaseUri
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

| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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 Source

DefaultContext

Gets/Sets the Default Vocabulary.

Declaration
public IRdfAContext DefaultContext { get; set; }
Property Value
Type Description
IRdfAContext
| Edit this page View Source

Document

Gets the HTML Document.

Declaration
public THtmlDocument Document { get; }
Property Value
Type Description
THtmlDocument
| Edit this page View Source

Syntax

Gets/Sets the RDFa syntax in use.

Declaration
public RdfASyntax Syntax { get; set; }
Property Value
Type Description
RdfASyntax
| Edit this page View Source

XmlBaseAllowed

Gets/Sets whether xml:base is allowed in the embedded RDF.

Declaration
public bool XmlBaseAllowed { get; set; }
Property Value
Type Description
bool

Implements

IParserContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • RdfAParserContext(IGraph, THtmlDocument)
    • RdfAParserContext(IGraph, THtmlDocument, bool)
    • RdfAParserContext(IRdfHandler, THtmlDocument)
    • RdfAParserContext(IRdfHandler, THtmlDocument, bool)
    • RdfAParserContext(IRdfHandler, THtmlDocument, bool, IUriFactory)
    • RdfAParserContext(IRdfHandler, THtmlDocument, IUriFactory)
  • Properties
    • DefaultContext
    • Document
    • Syntax
    • XmlBaseAllowed
  • Implements
  • Extension Methods
Back to top Generated by DocFX