java.lang.Object
org.apache.jena.shex.expressions.NodeConstraintComponent
- All Implemented Interfaces:
Satisfies
,ShexPrintable
- Direct Known Subclasses:
DatatypeConstraint
,NodeKindConstraint
,NumLengthConstraint
,NumRangeConstraint
,StrLengthConstraint
,StrRegexConstraint
,ValueConstraint
The elements making up
NodeConstraint { id:shapeExprLabel? nodeKind:("iri" | "bnode" | "nonliteral" | "literal")? datatype:IRIREF? xsFacet* values:[valueSetValue+]? }
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract int
hashCode()
abstract ReportItem
nodeSatisfies
(ValidationContext vCxt, org.apache.jena.graph.Node data) The function "nodeSatisfies" == satisfies2(n, nc)void
print
(org.apache.jena.atlas.io.IndentedWriter out, org.apache.jena.riot.out.NodeFormatter nFmt) boolean
satisfies
(ValidationContext vCxt, org.apache.jena.graph.Node data) The "satisfies" function.abstract String
toString()
abstract void
visit
(NodeConstraintVisitor visitor) Methods inherited from interface org.apache.jena.shex.expressions.ShexPrintable
asString, print
-
Constructor Details
-
NodeConstraintComponent
public NodeConstraintComponent()
-
-
Method Details
-
satisfies
Description copied from interface:Satisfies
The "satisfies" function. Return true for OK, false for not OK. -
nodeSatisfies
The function "nodeSatisfies" == satisfies2(n, nc) -
visit
-
print
public void print(org.apache.jena.atlas.io.IndentedWriter out, org.apache.jena.riot.out.NodeFormatter nFmt) - Specified by:
print
in interfaceShexPrintable
-
hashCode
public abstract int hashCode() -
equals
-
toString
-