public static class XpathConstraintNode.IfThenElse extends XpathConstraintNode
XpathConstraintNode.AllInstances, XpathConstraintNode.Arithmetic, XpathConstraintNode.Attribute, XpathConstraintNode.BindingContext, XpathConstraintNode.Cast, XpathConstraintNode.ChangeCase, XpathConstraintNode.Comparison, XpathConstraintNode.Concatenate, XpathConstraintNode.Empty, XpathConstraintNode.Error, XpathConstraintNode.Exists, XpathConstraintNode.IfThenElse, XpathConstraintNode.KindOf, XpathConstraintNode.Literal, XpathConstraintNode.Logic, XpathConstraintNode.Matches, XpathConstraintNode.MessageComment, XpathConstraintNode.Select, XpathConstraintNode.Size, XpathConstraintNode.Substring, XpathConstraintNode.Unique, XpathConstraintNode.Variable, XpathConstraintNode.XpathFragment, XpathConstraintNode.XpathType
children, negated, parent, xpathHelper
Constructor and Description |
---|
IfThenElse(XpathHelper xpathHelper)
Ctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasSimpleType()
This predicate finds out whether the IfThenElse results in a simple
XML schema type.
|
XpathConstraintNode.XpathFragment |
translate(XpathConstraintNode.BindingContext ctx)
This compiles the construct to an equivalent Xpath expression.
|
addChild, bindsVariable, containsError, generatingAttribute, hasIdentity, isAndOrLogic, isDependentOn, isMultiple, isVarOrAttribBased
public IfThenElse(XpathHelper xpathHelper)
xpathHelper
- The schema objectpublic boolean hasSimpleType()
This predicate finds out whether the IfThenElse results in a simple XML schema type.
hasSimpleType
in class XpathConstraintNode
public XpathConstraintNode.XpathFragment translate(XpathConstraintNode.BindingContext ctx)
This compiles the construct to an equivalent Xpath expression.
translate
in class XpathConstraintNode
ctx
- BindingContext this node shall be compiled inCopyright © 2017. All rights reserved.