Package org.apache.jena.shex.expressions
Class StrLengthConstraint
- java.lang.Object
-
- org.apache.jena.shex.expressions.ShapeExpression
-
- org.apache.jena.shex.expressions.NodeConstraint
-
- org.apache.jena.shex.expressions.StrLengthConstraint
-
public class StrLengthConstraint extends NodeConstraint
-
-
Field Summary
-
Fields inherited from class org.apache.jena.shex.expressions.ShapeExpression
nodeFmtAbbrev
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StrLengthConstraintcreate(StrLengthKind lengthType, int len)booleanequals(java.lang.Object obj)intgetLength()StrLengthKindgetLengthType()inthashCode()ReportItemnodeSatisfies(ValidationContext vCxt, Node n)The function "nodeSatisfies" == satisfies2(n, nc)java.lang.StringtoString()voidvisit(ShapeExprVisitor visitor)-
Methods inherited from class org.apache.jena.shex.expressions.NodeConstraint
print, satisfies
-
Methods inherited from class org.apache.jena.shex.expressions.ShapeExpression
asString
-
-
-
-
Method Detail
-
create
public static StrLengthConstraint create(StrLengthKind lengthType, int len)
-
getLengthType
public StrLengthKind getLengthType()
-
getLength
public int getLength()
-
nodeSatisfies
public ReportItem nodeSatisfies(ValidationContext vCxt, Node n)
Description copied from class:NodeConstraintThe function "nodeSatisfies" == satisfies2(n, nc)- Specified by:
nodeSatisfiesin classNodeConstraint
-
visit
public void visit(ShapeExprVisitor visitor)
- Specified by:
visitin classShapeExpression
-
toString
public java.lang.String toString()
- Specified by:
toStringin classNodeConstraint
-
hashCode
public int hashCode()
- Specified by:
hashCodein classNodeConstraint
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin classNodeConstraint
-
-