java.lang.Object
org.apache.jena.shex.expressions.ShapeExpression
org.apache.jena.shex.expressions.ShapeNodeConstraint
- All Implemented Interfaces:
Satisfies
,ShapeElement
,ShexPrintable
A node constraint (nonLitNodeConstraint or litNodeConstraint) in a shape atom.
ShapeAtom := ( nonLitNodeConstraint ( inlineShapeOrRef )? | litNodeConstraint | inlineShapeOrRef ( nonLitNodeConstraint )? | <LPAREN> shapeExpression <RPAREN> | <DOT> )
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
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.toString()
void
visit
(ShapeExprVisitor visitor) Methods inherited from class org.apache.jena.shex.expressions.ShapeExpression
getSemActs, testShapeExprSemanticActions
Methods inherited from interface org.apache.jena.shex.expressions.ShexPrintable
asString, print
-
Constructor Details
-
ShapeNodeConstraint
-
-
Method Details
-
getNodeConstraint
-
print
public void print(org.apache.jena.atlas.io.IndentedWriter out, org.apache.jena.riot.out.NodeFormatter nFmt) - Specified by:
print
in interfaceShexPrintable
- Specified by:
print
in classShapeExpression
-
satisfies
Description copied from interface:Satisfies
The "satisfies" function. Return true for OK, false for not OK.- Specified by:
satisfies
in interfaceSatisfies
- Specified by:
satisfies
in classShapeExpression
-
visit
- Specified by:
visit
in classShapeExpression
-
hashCode
public int hashCode()- Specified by:
hashCode
in classShapeExpression
-
equals
- Specified by:
equals
in classShapeExpression
-
toString
- Specified by:
toString
in classShapeExpression
-