Show / Hide Table of Contents

Class RdfAParserContext<THtmlDocument>

Parser Context for RDFa Parsers.

Inheritance
System.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

| Improve this Doc 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.

System.Boolean traceParsing

Whether to Trace Parsing.

| Improve this Doc 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.

| Improve this Doc 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.

System.Boolean traceParsing

Whether to trace parsing.

IUriFactory uriFactory

URI Factory to use.

| Improve this Doc 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.

System.Boolean traceParsing

Whether to Trace Parsing.

| Improve this Doc 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.

| Improve this Doc 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.

Properties

| Improve this Doc View Source

DefaultVocabulary

Gets/Sets the Default Vocabularly.

Declaration
public IRdfAVocabulary DefaultVocabulary { get; set; }
Property Value
Type Description
IRdfAVocabulary
| Improve this Doc View Source

Document

Gets the HTML Document.

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

Syntax

Gets/Sets the RDFa syntax in use.

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

XmlBaseAllowed

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

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

Implements

IParserContext

Extension Methods

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