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 java.lang.Object
implements ScriptEvaluator

Author:
Radovan Semancik

Field Summary
static java.lang.String XPATH_LANGUAGE_URL
           
 
Constructor Summary
XPathScriptEvaluator(PrismContext prismContext)
           
 
Method Summary
<T> java.util.List<PrismPropertyValue<T>>
evaluate(ScriptExpressionEvaluatorType expressionType, ScriptVariables variables, ItemDefinition outputDefinition, ScriptExpressionReturnTypeType suggestedReturnType, ObjectResolver objectResolver, MidPointFunctions functionLibrary, java.lang.String contextDescription, OperationResult result)
           
 java.lang.String getLanguageName()
          Returns human readable name of the language that this evaluator supports
 java.lang.String getLanguageUrl()
          Returns URL of the language that this evaluator can handle
static java.lang.String lookForMessage(java.lang.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 java.lang.String XPATH_LANGUAGE_URL
Constructor Detail

XPathScriptEvaluator

public XPathScriptEvaluator(PrismContext prismContext)
Method Detail

evaluate

public <T> java.util.List<PrismPropertyValue<T>> evaluate(ScriptExpressionEvaluatorType expressionType,
                                                          ScriptVariables variables,
                                                          ItemDefinition outputDefinition,
                                                          ScriptExpressionReturnTypeType suggestedReturnType,
                                                          ObjectResolver objectResolver,
                                                          MidPointFunctions functionLibrary,
                                                          java.lang.String contextDescription,
                                                          OperationResult result)
                                               throws ExpressionEvaluationException,
                                                      ObjectNotFoundException,
                                                      ExpressionSyntaxException
Specified by:
evaluate in interface ScriptEvaluator
Throws:
ExpressionEvaluationException
ObjectNotFoundException
ExpressionSyntaxException

lookForMessage

public static java.lang.String lookForMessage(java.lang.Throwable e)

getLanguageName

public java.lang.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 java.lang.String getLanguageUrl()
Description copied from interface: ScriptEvaluator
Returns URL of the language that this evaluator can handle

Specified by:
getLanguageUrl in interface ScriptEvaluator


Copyright © 2012 evolveum. All Rights Reserved.