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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidprint(org.apache.jena.atlas.io.IndentedWriter out, org.apache.jena.riot.out.NodeFormatter nFmt) booleansatisfies(ValidationContext vCxt, org.apache.jena.graph.Node data) The "satisfies" function.toString()voidvisit(ShapeExprVisitor visitor) Methods inherited from class org.apache.jena.shex.expressions.ShapeExpression
getSemActs, testShapeExprSemanticActionsMethods 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:
printin interfaceShexPrintable- Specified by:
printin classShapeExpression
-
satisfies
Description copied from interface:SatisfiesThe "satisfies" function. Return true for OK, false for not OK.- Specified by:
satisfiesin interfaceSatisfies- Specified by:
satisfiesin classShapeExpression
-
visit
- Specified by:
visitin classShapeExpression
-
hashCode
public int hashCode()- Specified by:
hashCodein classShapeExpression
-
equals
- Specified by:
equalsin classShapeExpression
-
toString
- Specified by:
toStringin classShapeExpression
-