Package org.topbraid.shacl.expr.lib
Class ExistsExpression
- java.lang.Object
-
- org.topbraid.shacl.expr.AbstractNodeExpression
-
- org.topbraid.shacl.expr.ComplexNodeExpression
-
- org.topbraid.shacl.expr.AbstractInputExpression
-
- org.topbraid.shacl.expr.lib.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 Summary
Constructors Constructor Description ExistsExpression(org.apache.jena.rdf.model.RDFNode expr, NodeExpression input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.rdf.model.RDFNode>eval(org.apache.jena.rdf.model.RDFNode focusNode, NodeExpressionContext context)Produces an iterator of value nodes for a given focus node.StringgetTypeId()voidvisit(NodeExpressionVisitor visitor)-
Methods inherited from class org.topbraid.shacl.expr.AbstractInputExpression
evalInput, getFunctionalSyntaxArguments, getInput, getInputExpressions
-
Methods inherited from class org.topbraid.shacl.expr.ComplexNodeExpression
getFunctionalSyntax, getFunctionalSyntaxName
-
Methods inherited from class org.topbraid.shacl.expr.AbstractNodeExpression
evalReverse, getOutputShape, getRDFNode, isReversible, toString
-
-
-
-
Constructor Detail
-
ExistsExpression
public ExistsExpression(org.apache.jena.rdf.model.RDFNode expr, NodeExpression input)
-
-
Method Detail
-
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:NodeExpressionProduces an iterator of value nodes for a given focus node.- Parameters:
focusNode- the focus nodecontext- the context- Returns:
- an iterator (never null)
-
getTypeId
public String getTypeId()
-
visit
public void visit(NodeExpressionVisitor visitor)
-
-