public static class XpathConstraintNode.MessageComment 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
Modifier and Type | Field and Description |
---|---|
protected String |
name |
children, negated, parent, xpathHelper
Constructor and Description |
---|
MessageComment(XpathHelper xpathHelper,
String name)
Ctor
|
Modifier and Type | Method and Description |
---|---|
String[] |
compileAsMessageArgumentList()
This method returns a vector or Schematron SQL value expressions in
interpretation of a MessageComment object.
|
String |
getErrorNumber()
Extract the error number from the operator name.
|
XpathConstraintNode.XpathFragment |
translate(XpathConstraintNode.BindingContext ctx)
This abstract method compiles a node to an XPath expression
fragment.
|
addChild, bindsVariable, containsError, generatingAttribute, hasIdentity, hasSimpleType, isAndOrLogic, isDependentOn, isMultiple, isVarOrAttribBased
protected String name
public MessageComment(XpathHelper xpathHelper, String name)
xpathHelper
- The schema objectpublic String getErrorNumber()
public String[] compileAsMessageArgumentList()
This method returns a vector or Schematron SQL value expressions in interpretation of a MessageComment object. The latter is created from the message text comment syntax contained in the constraints.
public XpathConstraintNode.XpathFragment translate(XpathConstraintNode.BindingContext ctx)
XpathConstraintNode
This abstract method compiles a node to an XPath expression fragment.
translate
in class XpathConstraintNode
ctx
- BindingContext this node shall be compiled inCopyright © 2018. All rights reserved.