Class ExistsExpression

All Implemented Interfaces:
NodeExpression

public class ExistsExpression extends AbstractInputExpression
Implements support for sh:exists. This node expression type is not part of the SHACL-AF 1.0 document, but a candidate for 1.1.
Author:
Holger Knublauch
  • Constructor Details

    • ExistsExpression

      public ExistsExpression(org.apache.jena.rdf.model.RDFNode expr, NodeExpression input)
  • Method Details

    • eval

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.rdf.model.RDFNode> eval(org.apache.jena.rdf.model.RDFNode focusNode, NodeExpressionContext context)
      Description copied from interface: NodeExpression
      Produces an iterator of value nodes for a given focus node.
      Parameters:
      focusNode - the focus node
      context - the context
      Returns:
      an iterator (never null)
    • getTypeId

      public String getTypeId()
    • visit

      public void visit(NodeExpressionVisitor visitor)