de.interactive_instruments.ShapeChange.TargetHelper
Class XpathConstraintNode.XpathFragment
java.lang.Object
de.interactive_instruments.ShapeChange.TargetHelper.XpathConstraintNode.XpathFragment
- Enclosing class:
- XpathConstraintNode
public static class XpathConstraintNode.XpathFragment
- extends Object
This auxiliary class encapsulates an Xpath expression, which can be
formulated using variables defined using <let> expressions
of a Schematron <rule>.
Additionally there is a number indicating the XPath operator precedence
of that fragment.
Priorities are as follows:
- or
- and
- Equality operators
- Other comparison operators
- Infix +, -
- *, div, mod
- Prefix -
- union |
- PathExpression
- FilterExpression id[...]
- (bracketed expressions) or identifier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
priority
public int priority
fragment
public String fragment
type
public XpathConstraintNode.XpathType type
lets
public TreeMap<String,String> lets
atEnd
public XpathConstraintNode.BindingContext atEnd
XpathConstraintNode.XpathFragment
public XpathConstraintNode.XpathFragment(int p,
String f,
XpathConstraintNode.XpathType t)
XpathConstraintNode.XpathFragment
public XpathConstraintNode.XpathFragment(int p,
String f)
bracket
public void bracket()
merge
public String merge(XpathConstraintNode.XpathFragment xf)
findOrAdd
public String findOrAdd(String ex)
Copyright © 2015. All rights reserved.