Class RdfXmlParserContext
Parser Context for RDF/XML Parser.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRDF.dll
Syntax
public class RdfXmlParserContext : BaseParserContext, IParserContext, IEventParserContext<IRdfXmlEvent>
Constructors
| Improve this Doc 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. |
System.IO.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. |
System.IO.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. |
System.Xml.XmlDocument | document | XML Document. |
RdfXmlParserContext(IGraph, XmlDocument, Boolean)
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. |
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. |
RdfXmlParserContext(IRdfHandler, TextReader)
Creates a new Parser Context which uses Streaming parsing.
Declaration
public RdfXmlParserContext(IRdfHandler handler, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
System.IO.TextReader | input | Input. |
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. |
RdfXmlParserContext(IRdfHandler, XmlDocument, Boolean)
Creates a new Parser Context.
Declaration
public RdfXmlParserContext(IRdfHandler handler, XmlDocument document, bool traceParsing)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler. |
System.Xml.XmlDocument | document | XML Document. |
System.Boolean | traceParsing | Whether to Trace Parsing. |
Properties
| Improve this Doc 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 |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<INode>> |