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:
Modifier and Type | Field and Description |
---|---|
XpathConstraintNode.BindingContext |
atEnd |
String |
fragment |
TreeMap<String,String> |
lets |
int |
priority |
XpathConstraintNode.XpathType |
type |
Constructor and Description |
---|
XpathFragment(int p,
String f) |
XpathFragment(int p,
String f,
XpathConstraintNode.XpathType t) |
Modifier and Type | Method and Description |
---|---|
void |
bracket() |
String |
findOrAdd(String ex) |
String |
merge(XpathConstraintNode.XpathFragment xf) |
public int priority
public String fragment
public XpathConstraintNode.XpathType type
public XpathConstraintNode.BindingContext atEnd
public XpathFragment(int p, String f, XpathConstraintNode.XpathType t)
public XpathFragment(int p, String f)
public void bracket()
public String merge(XpathConstraintNode.XpathFragment xf)
Copyright © 2018. All rights reserved.