public class FocusNodeExpression extends AbstractNodeExpression implements AtomicNodeExpression
| Constructor and Description |
|---|
FocusNodeExpression(org.apache.jena.rdf.model.RDFNode thisNode) |
| Modifier and Type | Method and 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.
|
String |
getFunctionalSyntax()
Produces a "functional" syntax used to display node expressions in a compact form.
|
org.apache.jena.rdf.model.Resource |
getOutputShape(org.apache.jena.rdf.model.Resource contextShape)
Gets the shape of the output data (if known), based on a context shape.
|
String |
getTypeId() |
void |
visit(NodeExpressionVisitor visitor) |
evalReverse, getInputExpressions, getRDFNode, isReversible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevalReverse, getInputExpressions, getRDFNode, isReversiblepublic FocusNodeExpression(org.apache.jena.rdf.model.RDFNode thisNode)
public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.rdf.model.RDFNode> eval(org.apache.jena.rdf.model.RDFNode focusNode,
NodeExpressionContext context)
NodeExpressioneval in interface NodeExpressionfocusNode - the focus nodecontext - the contextpublic String getFunctionalSyntax()
NodeExpressiongetFunctionalSyntax in interface NodeExpressionpublic org.apache.jena.rdf.model.Resource getOutputShape(org.apache.jena.rdf.model.Resource contextShape)
NodeExpressiongetOutputShape in interface NodeExpressiongetOutputShape in class AbstractNodeExpressioncontextShape - the shape where the evaluation would start, e.g. the node shape of the sh:values statementpublic String getTypeId()
getTypeId in interface NodeExpressionpublic void visit(NodeExpressionVisitor visitor)
visit in interface NodeExpressionCopyright © 2019 TopQuadrant, Inc.. All rights reserved.