public XmlRdfProcessor(IRdfHandler rdfHandler, XmlPlaceholderResolver entityResolver = null) : base(rdfHandler) { rdf = rdfHandler; linkName = entityResolver?.InstructionTarget; ProcessingInstructionMapping["xml-stylesheet"] = xmlNSUri; rdf.StartRdf(); rdf.HandleNamespace("rdf", new Uri(rdfNS)); rdf.HandleNamespace("rdfs", new Uri(rdfsNS)); rdf.HandleNamespace("xsd", new Uri(xsdNS)); }
public XmlRdfProcessor(Graph graph, XmlPlaceholderResolver linkResolver = null) : this(new GraphHandler(graph), linkResolver) { }