public static class SchematronConstraintNode.Size extends SchematronConstraintNode
SchematronConstraintNode.AllInstances, SchematronConstraintNode.Arithmetic, SchematronConstraintNode.Attribute, SchematronConstraintNode.BindingContext, SchematronConstraintNode.Cast, SchematronConstraintNode.ChangeCase, SchematronConstraintNode.Comparison, SchematronConstraintNode.Concatenate, SchematronConstraintNode.Empty, SchematronConstraintNode.Error, SchematronConstraintNode.Exists, SchematronConstraintNode.IfThenElse, SchematronConstraintNode.KindOf, SchematronConstraintNode.Let, SchematronConstraintNode.Literal, SchematronConstraintNode.Logic, SchematronConstraintNode.Matches, SchematronConstraintNode.MessageComment, SchematronConstraintNode.Select, SchematronConstraintNode.Size, SchematronConstraintNode.Substring, SchematronConstraintNode.Unique, SchematronConstraintNode.Variable, SchematronConstraintNode.XpathFragment, SchematronConstraintNode.XpathType
children, negated, parent, schemaObject
Constructor and Description |
---|
Size(SchematronSchema schemaObject,
boolean set)
Ctor
|
Modifier and Type | Method and Description |
---|---|
SchematronConstraintNode.XpathFragment |
translate(SchematronConstraintNode.BindingContext ctx)
Compile to an equivalent Xpath expression.
|
addChild, containsError, generatingAttribute, hasIdentity, hasSimpleType, isAndOrLogic, isDependentOn, isMultiple, isVarOrAttribBased, nodeVariableIsBoundTo
public Size(SchematronSchema schemaObject, boolean set)
schemaObject
- The schema objectset
- Flag: This is a set operationpublic SchematronConstraintNode.XpathFragment translate(SchematronConstraintNode.BindingContext ctx)
Compile to an equivalent Xpath expression. The Set variant is compiled to count() and the String variant goes to string-length().
translate
in class SchematronConstraintNode
ctx
- BindingContext this node shall be compiled inCopyright © 2018. All rights reserved.