Skip to main content

PropertyFunctionFactory

Trait PropertyFunctionFactory 

Source
pub trait PropertyFunctionFactory: Send + Sync {
    // Required method
    fn create(&self, iri: &str) -> Result<Box<dyn PropertyFunction>, OxirsError>;
}
Expand description

Factory for creating property function instances (Jena-compatible pattern).

Required Methods§

Source

fn create(&self, iri: &str) -> Result<Box<dyn PropertyFunction>, OxirsError>

Create a new property function instance for the given IRI.

Implementors§