public class UnifyingDefn extends Object
Modifier and Type | Field and Description |
---|---|
RewriteContext |
context |
protected ExpressionVisitor |
ev |
protected String |
exportName |
ExpressionADJ |
expressionADJ |
List<StructuredQName> |
modes |
PatternADJ |
patternADJ |
protected String |
patternS |
ExpressionADJ |
toADJ |
protected String |
toS |
ExpressionADJ |
whenADJ |
protected String |
whenS |
protected String exportName
protected ExpressionVisitor ev
public RewriteContext context
protected String patternS
public PatternADJ patternADJ
public ExpressionADJ expressionADJ
protected String whenS
public ExpressionADJ whenADJ
protected String toS
public ExpressionADJ toADJ
public List<StructuredQName> modes
public void init(boolean usePattern) throws XPathException
XPathException
protected ExpressionADJ parse(String expr) throws XPathException
XPathException
protected PatternADJ parsePattern(String expr) throws XPathException
XPathException
protected ExpressionADJ parse(String expr, ContextItemStaticInfo ci) throws XPathException
XPathException
protected ExpressionADJ parse(String propertyName, String expr) throws XPathException
XPathException
protected PatternADJ parsePattern(String propertyName, String expr) throws XPathException
XPathException
protected ExpressionADJ parse(String propertyName, String expr, ContextItemStaticInfo ci) throws XPathException
XPathException
public Set<RewriteContext> unifyingBindings(ExpressionADJ e)
public Expression unify(ExpressionADJ e)
public boolean checkWhen()
public boolean checkWhen(RewriteContext rc)
public void setProperties(Attributes atts) throws XPathException
atts
- the attributes on the declaring elementXPathException
public void setProperties(Map<String,String> props) throws XPathException
props
- the map of propertiesXPathException
public void setProperty(String name, String value) throws XPathException
XPathException
public void propertyError(String propertyName, String value, Exception e) throws XPathException
XPathException
public boolean checkMode(SimpleMode mode)
public void export(ExpressionPresenter out)
public void write(XMLStreamWriter out) throws XMLStreamException
XMLStreamException
public void writeAttributes(XMLStreamWriter out) throws XMLStreamException
XMLStreamException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.