Class RdfXmlParserContext
Parser Context for RDF/XML Parser.
Inherited Members
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 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, 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. |
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(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, 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. |
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. |
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 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<TKey, TValue><string, System.Collections.Generic.List<T><INode>> |