public static class SchematronConstraintNode.MessageComment 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
Modifier and Type | Field and Description |
---|---|
protected String |
name |
children, negated, parent, schemaObject
Constructor and Description |
---|
MessageComment(SchematronSchema schemaObject,
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.
|
SchematronConstraintNode.XpathFragment |
translate(SchematronConstraintNode.BindingContext ctx)
This abstract method compiles a node to an XPath expression
fragment.
|
addChild, containsError, generatingAttribute, hasIdentity, hasSimpleType, isAndOrLogic, isDependentOn, isMultiple, isVarOrAttribBased, nodeVariableIsBoundTo
protected String name
public MessageComment(SchematronSchema schemaObject, String name)
schemaObject
- 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 SchematronConstraintNode.XpathFragment translate(SchematronConstraintNode.BindingContext ctx)
SchematronConstraintNode
This abstract method compiles a node to an XPath expression fragment.
translate
in class SchematronConstraintNode
ctx
- BindingContext this node shall be compiled inCopyright © 2017. All rights reserved.