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
XPathExceptionprotected ExpressionADJ parse(String expr) throws XPathException
XPathExceptionprotected PatternADJ parsePattern(String expr) throws XPathException
XPathExceptionprotected ExpressionADJ parse(String expr, ContextItemStaticInfo ci) throws XPathException
XPathExceptionprotected ExpressionADJ parse(String propertyName, String expr) throws XPathException
XPathExceptionprotected PatternADJ parsePattern(String propertyName, String expr) throws XPathException
XPathExceptionprotected ExpressionADJ parse(String propertyName, String expr, ContextItemStaticInfo ci) throws XPathException
XPathExceptionpublic 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 elementXPathExceptionpublic void setProperties(Map<String,String> props) throws XPathException
props - the map of propertiesXPathExceptionpublic void setProperty(String name, String value) throws XPathException
XPathExceptionpublic void propertyError(String propertyName, String value, Exception e) throws XPathException
XPathExceptionpublic boolean checkMode(SimpleMode mode)
public void export(ExpressionPresenter out)
public void write(XMLStreamWriter out) throws XMLStreamException
XMLStreamExceptionpublic void writeAttributes(XMLStreamWriter out) throws XMLStreamException
XMLStreamExceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.