com.evolveum.midpoint.common.expression.script.xpath
Class XPathScriptEvaluator

java.lang.Object
  extended by com.evolveum.midpoint.common.expression.script.xpath.XPathScriptEvaluator
All Implemented Interfaces:
ScriptEvaluator

public class XPathScriptEvaluator
extends Object
implements ScriptEvaluator

Author:
Radovan Semancik

Field Summary
static String XPATH_LANGUAGE_URL
           
 
Constructor Summary
XPathScriptEvaluator(PrismContext prismContext)
           
 
Method Summary
<T> List<PrismPropertyValue<T>>
evaluate(ScriptExpressionEvaluatorType expressionType, ScriptVariables variables, ItemDefinition outputDefinition, ScriptExpressionReturnTypeType suggestedReturnType, ObjectResolver objectResolver, Collection<FunctionLibrary> functions, String contextDescription, OperationResult result)
           
 String getLanguageName()
          Returns human readable name of the language that this evaluator supports
 String getLanguageUrl()
          Returns URL of the language that this evaluator can handle
static String lookForMessage(Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XPATH_LANGUAGE_URL

public static String XPATH_LANGUAGE_URL
Constructor Detail

XPathScriptEvaluator

public XPathScriptEvaluator(PrismContext prismContext)
Method Detail

evaluate

public <T> List<PrismPropertyValue<T>> evaluate(ScriptExpressionEvaluatorType expressionType,
                                                ScriptVariables variables,
                                                ItemDefinition outputDefinition,
                                                ScriptExpressionReturnTypeType suggestedReturnType,
                                                ObjectResolver objectResolver,
                                                Collection<FunctionLibrary> functions,
                                                String contextDescription,
                                                OperationResult result)
                                     throws ExpressionEvaluationException,
                                            ObjectNotFoundException,
                                            ExpressionSyntaxException
Specified by:
evaluate in interface ScriptEvaluator
Throws:
ExpressionEvaluationException
ObjectNotFoundException
ExpressionSyntaxException

lookForMessage

public static String lookForMessage(Throwable e)

getLanguageName

public String getLanguageName()
Description copied from interface: ScriptEvaluator
Returns human readable name of the language that this evaluator supports

Specified by:
getLanguageName in interface ScriptEvaluator

getLanguageUrl

public String getLanguageUrl()
Description copied from interface: ScriptEvaluator
Returns URL of the language that this evaluator can handle

Specified by:
getLanguageUrl in interface ScriptEvaluator


Copyright © 2013 evolveum. All Rights Reserved.