Class ShexRecord


  • public class ShexRecord
    extends java.lang.Object
    ShexShapeRecord is an entry in a ShexMap used for both targeting shapes and reporting violations.
    • Field Detail

      • node

        public final Node node
      • pattern

        public final Triple pattern
      • shapeExprLabel

        public final Node shapeExprLabel
      • reason

        public final java.lang.String reason
      • focus

        public final Node focus
    • Constructor Detail

      • ShexRecord

        public ShexRecord​(Node node,
                          Node shapeExprLabel)
      • ShexRecord

        public ShexRecord​(Triple pattern,
                          Node shapeExprLabel)
    • Method Detail

      • isSubjectFocus

        public boolean isSubjectFocus()
      • isObjectFocus

        public boolean isObjectFocus()
      • asMatcher

        public Triple asMatcher()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • strTarget

        public java.lang.String strTarget()