Class ShapeExpression

java.lang.Object
org.apache.jena.shex.expressions.ShapeExpression
All Implemented Interfaces:
Satisfies, ShapeElement, ShexPrintable
Direct Known Subclasses:
ShapeExprAND, ShapeExprAtom, ShapeExprDot, ShapeExprExternal, ShapeExprFalse, ShapeExprNone, ShapeExprNOT, ShapeExprOR, ShapeExprRef, ShapeExprTripleExpr, ShapeExprTrue, ShapeNodeConstraint

public abstract class ShapeExpression extends Object implements ShapeElement
  • Constructor Details

    • ShapeExpression

      public ShapeExpression(List<SemAct> semActs)
  • Method Details

    • getSemActs

      public List<SemAct> getSemActs()
    • satisfies

      public abstract boolean satisfies(ValidationContext vCxt, org.apache.jena.graph.Node data)
      Description copied from interface: Satisfies
      The "satisfies" function. Return true for OK, false for not OK.
      Specified by:
      satisfies in interface Satisfies
    • testShapeExprSemanticActions

      public boolean testShapeExprSemanticActions(ValidationContext v, org.apache.jena.graph.Node focus)
    • print

      public abstract void print(org.apache.jena.atlas.io.IndentedWriter out, org.apache.jena.riot.out.NodeFormatter nFmt)
      Specified by:
      print in interface ShexPrintable
    • visit

      public abstract void visit(ShapeExprVisitor visitor)
    • toString

      public abstract String toString()
      Overrides:
      toString in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public abstract boolean equals(Object obj)
      Overrides:
      equals in class Object