public abstract class GeneratedCode
extends java.lang.Object
Constructor and Description |
---|
GeneratedCode() |
Modifier and Type | Method and Description |
---|---|
void |
dynamicError(java.lang.String message,
java.lang.String code)
Helper method for use at run-time allowing the generated code to throw a dynamic error
|
boolean |
effectiveBooleanValue(XPathContext context)
Method that can be implemented in each generated subclass, to actually evaluate the compiled code.
|
Item |
evaluateItem(XPathContext context)
Method that can be implemented in each generated subclass, to actually evaluate the compiled code.
|
Configuration |
getConfiguration()
Get the configuration.
|
SequenceIterator |
iterate(XPathContext context)
Method that can be implemented in each generated subclass, to actually evaluate the compiled code.
|
void |
process(XPathContext context)
Method that can be implemented in each generated subclass, to actually evaluate the compiled code.
|
void |
setConfiguration(Configuration config)
Set the configuration.
|
public final void setConfiguration(Configuration config)
config
- the Saxon configurationpublic final Configuration getConfiguration()
public final void dynamicError(java.lang.String message, java.lang.String code) throws XPathException
message
- the error messagecode
- the error codeXPathException
- the exception representing the dynamic errorpublic SequenceIterator iterate(XPathContext context) throws XPathException
context
- the XPath dynamic contextXPathException
- if any dynamic error occurs during the evaluationpublic void process(XPathContext context) throws XPathException
context
- the XPath dynamic contextXPathException
- if any dynamic error occurs during the evaluationpublic Item evaluateItem(XPathContext context) throws XPathException
context
- the XPath dynamic contextXPathException
- if any dynamic error occurs during the evaluationpublic boolean effectiveBooleanValue(XPathContext context) throws XPathException
context
- the XPath dynamic contextXPathException
- if any dynamic error occurs during the evaluationCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.