Interface XPathExtractionRule

    • Method Detail

      • getName

        String getName()
        Returns:
        the human readable rule name.
      • acceptIRI

        boolean acceptIRI​(org.eclipse.rdf4j.model.IRI uri)
        Checks if the rule can be applied on the given document IRI.
        Parameters:
        uri - input document IRI.
        Returns:
        true if applied, false otherwise.
      • process

        void process​(Document in,
                     ExtractionResult out)
        Processes this extraction rule on the given document.
        Parameters:
        in - input document to be processed.
        out - output result writer.