Package org.apache.jena.shex
Class ShexRecord
- java.lang.Object
-
- org.apache.jena.shex.ShexRecord
-
public class ShexRecord extends java.lang.ObjectShexShapeRecordis an entry in a ShexMap used for both targeting shapes and reporting violations.
-
-
Constructor Summary
Constructors Constructor Description ShexRecord(Node node, Node shapeExprLabel)ShexRecord(Triple pattern, Node shapeExprLabel)ShexRecord(ShexRecord assoc, Node focusNode, ShexStatus status, java.lang.String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TripleasMatcher()booleanisObjectFocus()booleanisSubjectFocus()java.lang.StringstrTarget()java.lang.StringtoString()
-
-
-
Field Detail
-
node
public final Node node
-
pattern
public final Triple pattern
-
shapeExprLabel
public final Node shapeExprLabel
-
status
public final ShexStatus status
-
reason
public final java.lang.String reason
-
focus
public final Node focus
-
-
Constructor Detail
-
ShexRecord
public ShexRecord(ShexRecord assoc, Node focusNode, ShexStatus status, java.lang.String reason)
-
-
Method Detail
-
isSubjectFocus
public boolean isSubjectFocus()
-
isObjectFocus
public boolean isObjectFocus()
-
asMatcher
public Triple asMatcher()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
strTarget
public java.lang.String strTarget()
-
-