public static class FolSchematronNode.Empty extends FolSchematronNode
This one stands for the OCL isEmpty() and notEmpty() predicate operations. Which of these is meant is expressed in the state variable negated.
FolSchematronNode.Arithmetic, FolSchematronNode.AttributeNode, FolSchematronNode.BindingContext, FolSchematronNode.ComparisonNode, FolSchematronNode.Empty, FolSchematronNode.Error, FolSchematronNode.IsNullNode, FolSchematronNode.IsTypeOfNode, FolSchematronNode.LiteralNode, FolSchematronNode.Logic, FolSchematronNode.Matches, FolSchematronNode.MessageComment, FolSchematronNode.NotNode, FolSchematronNode.QuantificationNode, FolSchematronNode.VariableNode, FolSchematronNode.XpathFragment, FolSchematronNode.XpathType
BY_REFERENCE, children, INLINE, INLINE_OR_BY_REFERENCE, parent, schemaObject, SIMPLE_TYPE
Constructor and Description |
---|
Empty(FOL2Schematron schemaObject)
Ctor
|
Modifier and Type | Method and Description |
---|---|
FolSchematronNode.XpathFragment |
translate(FolSchematronNode.BindingContext ctx)
This compiles the node and its children to an Xpath fragment.
|
addChild, containsError, generatingAttribute, hasIdentity, hasSimpleType, hasSimpleType, isAIXMExtension, isAndOrLogic, isDependentOn, isMultiple, isVarOrAttribBased, nodeVariableIsBoundTo, objValueFromVariable
public Empty(FOL2Schematron schemaObject)
schemaObject
- The schema objectpublic FolSchematronNode.XpathFragment translate(FolSchematronNode.BindingContext ctx)
This compiles the node and its children to an Xpath fragment. The translation is essentially the nodeset derived from the object part of the expression, because notEmpty() is fulfilled for a nodeset, which converts to a boolean true. isEmpty() requires an additional not().
translate
in class FolSchematronNode
ctx
- BindingContext this node shall be compiled inCopyright © 2017. All rights reserved.