Class ParserFactory
Object Factory used by the Configuration API to load parsers from configuration graphs.
Inheritance
System.Object
ParserFactory
Implements
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.Configuration
Assembly: dotNetRDF.dll
Syntax
public class ParserFactory : IObjectFactory
Methods
| Improve this Doc View SourceCanLoadObject(Type)
Gets whether this Factory can load objects of the given Type.
Declaration
public bool CanLoadObject(Type t)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t | Type. |
Returns
Type | Description |
---|---|
System.Boolean |
TryLoadObject(IGraph, INode, Type, out Object)
Tries to load a Parser based on information from the Configuration Graph.
Declaration
public bool TryLoadObject(IGraph g, INode objNode, Type targetType, out object obj)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Configuration Graph. |
INode | objNode | Object Node. |
System.Type | targetType | Target Type. |
System.Object | obj | Output Object. |
Returns
Type | Description |
---|---|
System.Boolean |