public abstract class GeneratedCode extends Object
| Constructor and Description | 
|---|
GeneratedCode()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dynamicError(String message,
            String code)
Helper method for use at run-time allowing the generated code to throw a dynamic error 
 | 
abstract boolean | 
effectiveBooleanValue(AtomicValue val)  | 
abstract boolean | 
effectiveBooleanValue(SequenceIterator seq)  | 
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 abstract boolean effectiveBooleanValue(AtomicValue val)
public abstract boolean effectiveBooleanValue(SequenceIterator seq)
public final void dynamicError(String message, 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-2013 Saxonica Limited. All rights reserved.