de.interactive_instruments.ShapeChange.TargetHelper
Class XpathConstraintNode.MessageComment
java.lang.Object
de.interactive_instruments.ShapeChange.TargetHelper.XpathConstraintNode
de.interactive_instruments.ShapeChange.TargetHelper.XpathConstraintNode.MessageComment
- Enclosing class:
- XpathConstraintNode
public static class XpathConstraintNode.MessageComment
- extends XpathConstraintNode
This represents an error message comment.
Nested classes/interfaces inherited from class de.interactive_instruments.ShapeChange.TargetHelper.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
XpathConstraintNode.MessageComment
public XpathConstraintNode.MessageComment(XpathHelper xpathHelper,
String name)
- Ctor
- Parameters:
xpathHelper
- The schema object
getErrorNumber
public String getErrorNumber()
- Extract the error number from the operator name.
- Returns:
- The error number as a String
compileAsMessageArgumentList
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.
- Returns:
- Array of message arguments in FME value syntax
translate
public XpathConstraintNode.XpathFragment translate(XpathConstraintNode.BindingContext ctx)
- Description copied from class:
XpathConstraintNode
This abstract method compiles a node to an XPath expression
fragment.
- Specified by:
translate
in class XpathConstraintNode
- Parameters:
ctx
- BindingContext this node shall be compiled in
- Returns:
- Object containing the Xpath fragment
Copyright © 2015. All rights reserved.