Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.extension.rules.functions
Class ElementHasAttribute

java.lang.Object
  extended by oracle.ide.extension.rules.RuleFunction
      extended by oracle.ide.extension.rules.functions.ElementHasAttribute


public class ElementHasAttribute
extends RuleFunction

Returns true if the given IDE Context contains an Element, and that Element has the expected attribute set. The element-attribute parameter is required, and the value is the string name of one of the constant fields in the ElementAttribute class


Constructor Summary
ElementHasAttribute()
           

 

Method Summary
 boolean evaluate(RuleEvaluationContext ruleContext, java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
           

 

Methods inherited from class oracle.ide.extension.rules.RuleFunction
getRequiredParameterOrThrow, matchesNameOfClassOrAncestor

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ElementHasAttribute

public ElementHasAttribute()

Method Detail

evaluate

public boolean evaluate(RuleEvaluationContext ruleContext,
                        java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
                 throws RuleEvaluationException
Specified by:
evaluate in class RuleFunction
Throws:
RuleEvaluationException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.