public static class XpathConstraintNode.Literal 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 |
---|
Literal(XpathHelper xpathHelper,
OclNode.LiteralExp lit,
boolean neg)
Ctor
|
Modifier and Type | Method and Description |
---|---|
XpathConstraintNode.XpathFragment |
translate(XpathConstraintNode.BindingContext ctx)
This function translates the Literal to equivalent Xpath code.
|
addChild, bindsVariable, containsError, generatingAttribute, hasIdentity, hasSimpleType, isAndOrLogic, isDependentOn, isMultiple, isVarOrAttribBased
public Literal(XpathHelper xpathHelper, OclNode.LiteralExp lit, boolean neg)
xpathHelper
- The schema objectlit
- OclNode.LiteralExp objectneg
- Negation flagpublic XpathConstraintNode.XpathFragment translate(XpathConstraintNode.BindingContext ctx)
This function translates the Literal to equivalent Xpath code.
translate
in class XpathConstraintNode
ctx
- BindingContext this node shall be compiled inCopyright © 2018. All rights reserved.