org.exist.xquery
Class FunctionFactory

java.lang.Object
  extended by org.exist.xquery.FunctionFactory

public class FunctionFactory
extends Object


Field Summary
static String ENABLE_JAVA_BINDING_ATTRIBUTE
           
static String PROPERTY_ENABLE_JAVA_BINDING
           
 
Constructor Summary
FunctionFactory()
           
 
Method Summary
static Expression createFunction(XQueryContext context, XQueryAST ast, PathExpr parent, List params)
          Create a function call.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLE_JAVA_BINDING_ATTRIBUTE

public static final String ENABLE_JAVA_BINDING_ATTRIBUTE
See Also:
Constant Field Values

PROPERTY_ENABLE_JAVA_BINDING

public static final String PROPERTY_ENABLE_JAVA_BINDING
See Also:
Constant Field Values
Constructor Detail

FunctionFactory

public FunctionFactory()
Method Detail

createFunction

public static Expression createFunction(XQueryContext context,
                                        XQueryAST ast,
                                        PathExpr parent,
                                        List params)
                                 throws XPathException
Create a function call. This method handles all calls to built-in or user-defined functions. It also deals with constructor functions and optimizes some function calls like starts-with, ends-with or contains.

Throws:
XPathException


Copyright (C) Wolfgang Meier. All rights reserved.