Class RdfXmlParserContext
Parser Context for RDF/XML Parser.
Inherited Members
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class RdfXmlParserContext : BaseParserContext, IParserContext, IEventParserContext<IRdfXmlEvent>
Constructors
| Edit this page View SourceRdfXmlParserContext(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. |
Stream | stream | Stream. |
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. |
TextReader | input | Input. |
RdfXmlParserContext(IGraph, XmlDocument)
Creates a new Parser Context.
Declaration
public RdfXmlParserContext(IGraph g, XmlDocument document)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
XmlDocument | document | XML Document. |
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. |
XmlDocument | document | XML Document. |
bool | traceParsing | Whether to Trace Parsing. |
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. |
Stream | stream | Stream. |
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. |
TextReader | input | Input. |
IUriFactory | uriFactory | URI Factory to use. |
XmlReaderSettings | xmlReaderSettings | The settngs to pass through to the underlying XML parser. |
RdfXmlParserContext(IRdfHandler, XmlDocument)
Creates a new Parser Context.
Declaration
public RdfXmlParserContext(IRdfHandler handler, XmlDocument document)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
XmlDocument | document | XML Document. |
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. |
XmlDocument | document | XML Document. |
bool | traceParsing | Whether to Trace Parsing. |
IUriFactory | uriFactory | URI factory to use. |
Properties
| Edit this page View SourceEvents
Gets the Event Queue.
Declaration
public IEventQueue<IRdfXmlEvent> Events { get; }
Property Value
Type | Description |
---|---|
IEventQueue<IRdfXmlEvent> |
IDs
Gets the Mapping of in-use IDs.
Declaration
public Dictionary<string, List<INode>> IDs { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, List<INode>> |