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