Show / Hide Table of Contents

Class RdfXmlParserContext

Parser Context for RDF/XML Parser.

Inheritance
System.Object
BaseParserContext
RdfXmlParserContext
Implements
IParserContext
IEventParserContext<IRdfXmlEvent>
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 RdfXmlParserContext : BaseParserContext, IParserContext, IEventParserContext<IRdfXmlEvent>

Constructors

| Improve this Doc View Source

RdfXmlParserContext(IGraph, Stream)

Creates a new Parser Context which uses Streaming parsing.

Declaration
public RdfXmlParserContext(IGraph g, Stream stream)
Parameters
Type Name Description
IGraph g

Graph.

System.IO.Stream stream

Stream.

| Improve this Doc View Source

RdfXmlParserContext(IGraph, TextReader)

Creates a new Parser Context which uses Streaming parsing.

Declaration
public RdfXmlParserContext(IGraph g, TextReader input)
Parameters
Type Name Description
IGraph g

Graph.

System.IO.TextReader input

Input.

| Improve this Doc View Source

RdfXmlParserContext(IGraph, XmlDocument, bool)

Creates a new Parser Context.

Declaration
public RdfXmlParserContext(IGraph g, XmlDocument document, bool traceParsing)
Parameters
Type Name Description
IGraph g

Graph.

System.Xml.XmlDocument document

XML Document.

System.Boolean traceParsing

Whether to Trace Parsing.

| Improve this Doc View Source

RdfXmlParserContext(IGraph, XmlDocument)

Creates a new Parser Context.

Declaration
public RdfXmlParserContext(IGraph g, XmlDocument document)
Parameters
Type Name Description
IGraph g

Graph.

System.Xml.XmlDocument document

XML Document.

| Improve this Doc View Source

RdfXmlParserContext(IRdfHandler, Stream)

Creates a new Parser Context which uses Streaming parsing.

Declaration
public RdfXmlParserContext(IRdfHandler handler, Stream stream)
Parameters
Type Name Description
IRdfHandler handler

RDF Handler.

System.IO.Stream stream

Stream.

| Improve this Doc View Source

RdfXmlParserContext(IRdfHandler, TextReader, IUriFactory, XmlReaderSettings)

Creates a new Parser Context which uses Streaming parsing.

Declaration
public RdfXmlParserContext(IRdfHandler handler, TextReader input, IUriFactory uriFactory = null, XmlReaderSettings xmlReaderSettings = null)
Parameters
Type Name Description
IRdfHandler handler

RDF Handler.

System.IO.TextReader input

Input.

IUriFactory uriFactory

URI Factory to use.

System.Xml.XmlReaderSettings xmlReaderSettings

The settngs to pass through to the underlying XML parser.

| Improve this Doc View Source

RdfXmlParserContext(IRdfHandler, XmlDocument, bool, IUriFactory)

Creates a new Parser Context.

Declaration
public RdfXmlParserContext(IRdfHandler handler, XmlDocument document, bool traceParsing, IUriFactory uriFactory = null)
Parameters
Type Name Description
IRdfHandler handler

RDF Handler.

System.Xml.XmlDocument document

XML Document.

System.Boolean traceParsing

Whether to Trace Parsing.

IUriFactory uriFactory

URI factory to use.

| Improve this Doc View Source

RdfXmlParserContext(IRdfHandler, XmlDocument)

Creates a new Parser Context.

Declaration
public RdfXmlParserContext(IRdfHandler handler, XmlDocument document)
Parameters
Type Name Description
IRdfHandler handler

RDF Handler.

System.Xml.XmlDocument document

XML Document.

Properties

| Improve this Doc View Source

Events

Gets the Event Queue.

Declaration
public IEventQueue<IRdfXmlEvent> Events { get; }
Property Value
Type Description
IEventQueue<IRdfXmlEvent>
| Improve this Doc View Source

IDs

Gets the Mapping of in-use IDs.

Declaration
public Dictionary<string, List<INode>> IDs { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<TKey, TValue><string, System.Collections.Generic.List<T><INode>>

Implements

IParserContext
IEventParserContext<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • RdfXmlParserContext(IGraph, Stream)
    • RdfXmlParserContext(IGraph, TextReader)
    • RdfXmlParserContext(IGraph, XmlDocument, bool)
    • RdfXmlParserContext(IGraph, XmlDocument)
    • RdfXmlParserContext(IRdfHandler, Stream)
    • RdfXmlParserContext(IRdfHandler, TextReader, IUriFactory, XmlReaderSettings)
    • RdfXmlParserContext(IRdfHandler, XmlDocument, bool, IUriFactory)
    • RdfXmlParserContext(IRdfHandler, XmlDocument)
  • Properties
    • Events
    • IDs
  • Implements
  • Extension Methods
Back to top Generated by DocFX