com.evolveum.midpoint.common.expression.script.xpath
Class XPathScriptEvaluator
java.lang.Object
com.evolveum.midpoint.common.expression.script.xpath.XPathScriptEvaluator
- All Implemented Interfaces:
- ScriptEvaluator
public class XPathScriptEvaluator
- extends Object
- implements ScriptEvaluator
- Author:
- Radovan Semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPATH_LANGUAGE_URL
public static String XPATH_LANGUAGE_URL
XPathScriptEvaluator
public XPathScriptEvaluator(PrismContext prismContext)
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.