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