Click or drag to resize

ConfigurationLoader Class

The Configuration Loader is responsible for the loading of Configuration information and objects based upon information encoded in a Graph but more generally may be used for the loading of any type of object whose configuration has been loaded in a Graph and for which a relevant IObjectFactory is available.
Inheritance Hierarchy
SystemObject
  VDS.RDF.ConfigurationConfigurationLoader

Namespace:  VDS.RDF.Configuration
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class ConfigurationLoader : IConfigurationLoader

The ConfigurationLoader type exposes the following members.

Constructors
  NameDescription
Public methodConfigurationLoader(String)
Creates a new instance of ConfigurationLoader, which loads an existing configuration graph and applies auto-configuration.
Public methodConfigurationLoader(Uri)
Creates a new instance of ConfigurationLoader, which loads an existing configuration graph from file and applies auto-configuration.
Public methodConfigurationLoader(IGraph)
Creates a new instance of ConfigurationLoader, which loads an existing configuration graph and applies auto-configuration.
Public methodConfigurationLoader(String, Boolean)
Creates a new instance of ConfigurationLoader, which loads an existing configuration graph and optionally applies auto-configuration.
Public methodConfigurationLoader(Uri, Boolean)
Creates a new instance of ConfigurationLoader, which loads an existing configuration graph and optionally applies auto-configuration.
Public methodConfigurationLoader(IGraph, Boolean)
Creates a new instance of ConfigurationLoader, which loads an existing configuration graph and optionally applies auto-configuration.
Top
Properties
  NameDescription
Public propertyStatic memberPathResolver
Gets/Sets the in-use Path Resolver.
Public propertyStatic memberSettingsProvider
Gets or sets the provider of external settings.
Top
Methods
  NameDescription
Public methodStatic memberAddObjectFactory
Registers an Object Factory with the Configuration Loader.
Public methodStatic memberAutoConfigure
Given a Configuration Graph applies all available auto-configuration based on the contents of the graph.
Public methodStatic memberAutoConfigureObjectFactories
Given a Configuration Graph will detect and configure Object Factories defined in the configuration.
Public methodStatic memberAutoConfigureReadersAndWriters
Given a Configuration Graph will detect Readers and Writers for RDF and SPARQL syntaxes and register them with MimeTypesHelper. This will cause the library defaults to be overridden where appropriate.
Public methodStatic memberAutoConfigureSparqlOperators
Given a Configuration Graph will detect and configure SPARQL Operators.
Public methodStatic memberAutoConfigureStaticOptions
Given a Configuration Graph will detect and configure static options that are specified using the dnr:configure property with special <dotnetrdf-configure:Class/Property> subject URIs.
Public methodStatic memberCheckCircularReference
Checks for circular references and throws an error if there is one.
Public methodStatic memberClearCache
Clears the Object Loader cache (this is not recommended).
Public methodStatic memberCreateConfigurationNode Obsolete.
Creates a URI Node that refers to some Configuration property/type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetConfigurationArray
Gets all the literal values given for a property of a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationBoolean(IGraph, INode, IEnumerableINode, Boolean)
Gets the Boolean value or a given default of the first instance of the first property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationBoolean(IGraph, INode, INode, Boolean)
Gets the Boolean value or a given default of the first instance of a property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationData
Gets all the values given for a property of a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationInt32(IGraph, INode, IEnumerableINode, Int32)
Gets the 64 bit Integer value or a given default of the first instance of the first property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationInt32(IGraph, INode, INode, Int32)
Gets the 64 bit Integer value or a given default of the first instance of a property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationInt64(IGraph, INode, IEnumerableINode, Int64)
Gets the 64 bit Integer value or a given default of the first instance of the first property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationInt64(IGraph, INode, INode, Int64)
Gets the 64 bit Integer value or a given default of the first instance of a property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationNode(IGraph, INode, IEnumerableINode)
Gets the first value given for the first found property of a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationNode(IGraph, INode, INode)
Gets the first value given for a property of a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationString(IGraph, INode, IEnumerableINode)
Gets the String value or null of the first instance of the first property for a given Object in the Configuration Graph where the value for the property is a Literal Node.
Public methodStatic memberGetConfigurationString(IGraph, INode, INode)
Gets the String value or null of the first instance of a property for a given Object in the Configuration Graph where the value for the property is a Literal Node.
Public methodStatic memberGetConfigurationValue(IGraph, INode, IEnumerableINode)
Gets the String value or null of the first instance of the first property for a given Object in the Configuration Graph.
Public methodStatic memberGetConfigurationValue(IGraph, INode, INode)
Gets the String value or null of the first instance of a property for a given Object in the Configuration Graph.
Public methodStatic memberGetDefaultType(String)
Attempts to return the Default Type to load an Object as when there is no dnr:type property but there is a rdf:type property.
Public methodStatic memberGetDefaultType(IGraph, INode)
Attempts to find the Default Type to load an Object as when no explicit dnr:type property has been declared but an rdf:type property has been declared giving a valid Configuration Class.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetUsernameAndPassword
Gets the Username and Password specified for a given Object.
Public methodStatic memberIsCached
Gets whether the given Object has already been loaded and cached.
Public methodStatic memberLoadConfiguration(String)
Loads a Configuration Graph and applies auto-configuration.
Public methodStatic memberLoadConfiguration(Uri)
Loads a Configuration Graph and applies auto-configuration.
Public methodStatic memberLoadConfiguration(String, Boolean)
Loads a Configuration Graph and applies auto-configuration if desired.
Public methodStatic memberLoadConfiguration(Uri, Boolean)
Loads a Configuration Graph and applies auto-configuration if desired.
Public methodStatic memberLoadEmbeddedConfiguration(String)
Loads a Configuration Graph and applies auto-configuration.
Public methodStatic memberLoadEmbeddedConfiguration(String, Boolean)
Loads a Configuration Graph and applies auto-configuration if desired.
Public methodLoadObject(String)
Loads the Object identified by the given blank node identifier as an Object.
Public methodLoadObject(Uri)
Loads the Object identified by the given URI as an Object.
Public methodStatic memberLoadObject(IGraph, INode)
Loads the Object identified by the given Node based on information from the Configuration Graph.
Public methodStatic memberLoadObject(IGraph, INode, Type)
Loads the Object identified by the given Node as an object of the given type based on information from the Configuration Graph.
Public methodLoadObjectT(String)
Loads the Object identified by the given blank node identifier as an object of the given type based on information from the Configuration Graph.
Public methodLoadObjectT(Uri)
Loads the Object identified by the given URI as an object of the given type based on information from the Configuration Graph.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberResolveAppSetting
Attempts to resolve special <appsettings> URIs into actual values.
Public methodStatic memberResolvePath
Resolves a Path using the in-use path-resolver.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberClassAlgebraOptimiser
URI Constants for configuration classes.
Public fieldStatic memberClassDatasetParser
URI Constants for configuration classes.
Public fieldStatic memberClassDatasetWriter
URI Constants for configuration classes.
Public fieldStatic memberClassGraph
URI Constants for configuration classes.
Public fieldStatic memberClassGraphCollection
URI Constants for configuration classes.
Public fieldStatic memberClassHttpHandler
URI Constants for configuration classes.
Public fieldStatic memberClassObjectFactory
URI Constants for configuration classes.
Public fieldStatic memberClassOwlReasoner
URI Constants for configuration classes.
Public fieldStatic memberClassPermission
URI Constants for configuration classes.
Public fieldStatic memberClassProxy
URI Constants for configuration classes.
Public fieldStatic memberClassQueryOptimiser
URI Constants for configuration classes.
Public fieldStatic memberClassRdfParser
URI Constants for configuration classes.
Public fieldStatic memberClassRdfWriter
URI Constants for configuration classes.
Public fieldStatic memberClassReasoner
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlDataset
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlEndpoint
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlExpressionFactory
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlHttpProtocolProcessor
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlOperator
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlPropertyFunctionFactory
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlQueryEndpoint
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlQueryProcessor
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlResultsParser
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlResultsWriter
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlUpdateEndpoint
URI Constants for configuration classes.
Public fieldStatic memberClassSparqlUpdateProcessor
URI Constants for configuration classes.
Public fieldStatic memberClassStorageProvider
URI Constants for configuration classes.
Public fieldStatic memberClassStorageServer
URI Constants for configuration classes.
Public fieldStatic memberClassTripleCollection
URI Constants for configuration classes.
Public fieldStatic memberClassTripleStore
URI Constants for configuration classes.
Public fieldStatic memberClassUser
URI Constants for configuration classes.
Public fieldStatic memberClassUserGroup
URI Constants for configuration classes.
Public fieldStatic memberConfigurationNamespace
Configuration Namespace URI.
Public fieldStatic memberDefaultTypeGraph
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeGraphCollection
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeSparqlHttpProtocolProcessor
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeSparqlQueryProcessor
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeSparqlUpdateProcessor
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeTripleCollection
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeTripleStore
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberDefaultTypeUserGroup
QName Constants for Default Types for some configuration classes.
Public fieldStatic memberPropertyAction
URI Constants for configuration properties.
Public fieldStatic memberPropertyAlgebraOptimiser
URI Constants for configuration properties.
Public fieldStatic memberPropertyAllow
URI Constants for configuration properties.
Public fieldStatic memberPropertyAssignUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyAsync
URI Constants for configuration properties.
Public fieldStatic memberPropertyAttributeWriting
URI Constants for configuration properties.
Public fieldStatic memberPropertyCacheDuration
URI Constants for configuration properties.
Public fieldStatic memberPropertyCacheSliding
URI Constants for configuration properties.
Public fieldStatic memberPropertyCatalog
URI Constants for configuration properties.
Public fieldStatic memberPropertyCompressionLevel
URI Constants for configuration properties.
Public fieldStatic memberPropertyConfigure
URI Constants for configuration properties.
Public fieldStatic memberPropertyCredentials
URI Constants for configuration properties.
Public fieldStatic memberPropertyDatabase
URI Constants for configuration properties.
Public fieldStatic memberPropertyDefaultGraphUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyDefaultQueryFile
URI Constants for configuration properties.
Public fieldStatic memberPropertyDefaultUpdateFile
URI Constants for configuration properties.
Public fieldStatic memberPropertyDeny
URI Constants for configuration properties.
Public fieldStatic memberPropertyDescribeAlgorithm
URI Constants for configuration properties.
Public fieldStatic memberPropertyDtdWriting
URI Constants for configuration properties.
Public fieldStatic memberPropertyEnableCors
URI Constants for configuration properties.
Public fieldStatic memberPropertyEnabled
URI Constants for configuration properties.
Public fieldStatic memberPropertyEnableUpdates
URI Constants for configuration properties.
Public fieldStatic memberPropertyEncryptConnection
URI Constants for configuration properties.
Public fieldStatic memberPropertyEndpoint
URI Constants for configuration properties.
Public fieldStatic memberPropertyEndpointUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyExpressionFactory
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromDataset
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromEmbedded
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromFile
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromGraph
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromStore
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromString
URI Constants for configuration properties.
Public fieldStatic memberPropertyFromUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyFunctionFactory
URI Constants for configuration properties.
Public fieldStatic memberPropertyHaltOnError
URI Constants for configuration properties.
Public fieldStatic memberPropertyHighSpeedWriting
URI Constants for configuration properties.
Public fieldStatic memberPropertyImportNamespacesFrom
URI Constants for configuration properties.
Public fieldStatic memberPropertyImports
URI Constants for configuration properties.
Public fieldStatic memberPropertyIntroFile
URI Constants for configuration properties.
Public fieldStatic memberPropertyLoadMode
URI Constants for configuration properties.
Public fieldStatic memberPropertyMember
URI Constants for configuration properties.
Public fieldStatic memberPropertyMultiThreadedWriting
URI Constants for configuration properties.
Public fieldStatic memberPropertyNamedGraphUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyOwlReasoner
URI Constants for configuration properties.
Public fieldStatic memberPropertyPartialResults
URI Constants for configuration properties.
Public fieldStatic memberPropertyPassword
URI Constants for configuration properties.
Public fieldStatic memberPropertyPermissionModel
URI Constants for configuration properties.
Public fieldStatic memberPropertyPort
URI Constants for configuration properties.
Public fieldStatic memberPropertyPrettyPrinting
URI Constants for configuration properties.
Public fieldStatic memberPropertyProtocolProcessor
URI Constants for configuration properties.
Public fieldStatic memberPropertyProxy
URI Constants for configuration properties.
Public fieldStatic memberPropertyQueryEndpoint
URI Constants for configuration properties.
Public fieldStatic memberPropertyQueryEndpointUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyQueryOptimiser
URI Constants for configuration properties.
Public fieldStatic memberPropertyQueryPath
URI Constants for configuration properties.
Public fieldStatic memberPropertyQueryProcessor
URI Constants for configuration properties.
Public fieldStatic memberPropertyReadOnly
URI Constants for configuration properties.
Public fieldStatic memberPropertyReasoner
URI Constants for configuration properties.
Public fieldStatic memberPropertyRequiresAuthentication
URI Constants for configuration properties.
Public fieldStatic memberPropertyServer
URI Constants for configuration properties.
Public fieldStatic memberPropertyServiceDescription
URI Constants for configuration properties.
Public fieldStatic memberPropertyShowErrors
URI Constants for configuration properties.
Public fieldStatic memberPropertyShowQueryForm
URI Constants for configuration properties.
Public fieldStatic memberPropertyShowUpdateForm
URI Constants for configuration properties.
Public fieldStatic memberPropertySkipParsing
URI Constants for configuration properties.
Public fieldStatic memberPropertyStorageProvider
URI Constants for configuration properties.
Public fieldStatic memberPropertyStore
URI Constants for configuration properties.
Public fieldStatic memberPropertyStylesheet
URI Constants for configuration properties.
Public fieldStatic memberPropertySyntax
URI Constants for configuration properties.
Public fieldStatic memberPropertyTimeout
URI Constants for configuration properties.
Public fieldStatic memberPropertyType
URI Constants for configuration properties.
Public fieldStatic memberPropertyUnionDefaultGraph
URI Constants for configuration properties.
Public fieldStatic memberPropertyUpdateEndpoint
URI Constants for configuration properties.
Public fieldStatic memberPropertyUpdateEndpointUri
URI Constants for configuration properties.
Public fieldStatic memberPropertyUpdatePath
URI Constants for configuration properties.
Public fieldStatic memberPropertyUpdateProcessor
URI Constants for configuration properties.
Public fieldStatic memberPropertyUseCredentialsForProxy
URI Constants for configuration properties.
Public fieldStatic memberPropertyUser
URI Constants for configuration properties.
Public fieldStatic memberPropertyUserGroup
URI Constants for configuration properties.
Public fieldStatic memberPropertyUsingDataset
URI Constants for configuration properties.
Public fieldStatic memberPropertyUsingGraph
URI Constants for configuration properties.
Public fieldStatic memberPropertyUsingGraphCollection
URI Constants for configuration properties.
Public fieldStatic memberPropertyUsingStore
URI Constants for configuration properties.
Public fieldStatic memberPropertyUsingTripleCollection
URI Constants for configuration properties.
Public fieldStatic memberPropertyWithUri
URI Constants for configuration properties.
Public fieldStatic memberUriSchemeAppSettings
Constants for URI Schemes with special meaning within the Configuration API.
Public fieldStatic memberUriSchemeConfigureOptions
Constants for URI Schemes with special meaning within the Configuration API.
Top
Remarks

See Also