|
|||||||||
| Home >> All >> com >> sun >> xacml >> [ cond overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sun.xacml.cond
Class ConditionBagFunction

java.lang.Objectcom.sun.xacml.cond.FunctionBase
com.sun.xacml.cond.BagFunction
com.sun.xacml.cond.ConditionBagFunction
- All Implemented Interfaces:
- Function
- public class ConditionBagFunction
- extends BagFunction
Specific BagFunction class that supports the single
condition bag function: type-is-in.
- Since:
- 1.2
| Field Summary | |
private static java.util.HashMap |
argMap
|
| Fields inherited from class com.sun.xacml.cond.BagFunction |
baseTypes, NAME_BASE_BAG, NAME_BASE_BAG_SIZE, NAME_BASE_IS_IN, NAME_BASE_ONE_AND_ONLY, simpleTypes |
| Fields inherited from class com.sun.xacml.cond.FunctionBase |
FUNCTION_NS |
| Constructor Summary | |
ConditionBagFunction(java.lang.String functionName)
Constructor that is used to create one of the condition standard bag functions. |
|
ConditionBagFunction(java.lang.String functionName,
java.lang.String datatype)
Constructor that is used to create instances of condition bag functions for new (non-standard) datatypes. |
|
| Method Summary | |
EvaluationResult |
evaluate(java.util.List inputs,
com.sun.xacml.EvaluationCtx context)
Evaluate the function, using the specified parameters. |
private static java.lang.String[] |
getArguments(java.lang.String functionName)
Private helper that returns the argument types for the given standard function. |
static java.util.Set |
getSupportedIdentifiers()
Returns a Set containing all the function identifiers
supported by this class. |
| Methods inherited from class com.sun.xacml.cond.BagFunction |
getBagInstance, getBagSizeInstance, getIsInInstance, getOneAndOnlyInstance |
| Methods inherited from class com.sun.xacml.cond.FunctionBase |
checkInputs, checkInputsNoBag, evalArgs, getFunctionId, getFunctionName, getIdentifier, getReturnType, getReturnTypeAsString, makeProcessingError, returnsBag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
argMap
private static java.util.HashMap argMap
| Constructor Detail |
ConditionBagFunction
public ConditionBagFunction(java.lang.String functionName)
- Constructor that is used to create one of the condition standard bag
functions. The name supplied must be one of the standard XACML
functions supported by this class, including the full namespace,
otherwise an exception is thrown. Look in
BagFunctionfor details about the supported names.
ConditionBagFunction
public ConditionBagFunction(java.lang.String functionName, java.lang.String datatype)
- Constructor that is used to create instances of condition bag
functions for new (non-standard) datatypes. This is equivalent to
using the
getInstancemethods inBagFunctionand is generally only used by the run-time configuration code.
| Method Detail |
getArguments
private static java.lang.String[] getArguments(java.lang.String functionName)
- Private helper that returns the argument types for the given standard
function.
getSupportedIdentifiers
public static java.util.Set getSupportedIdentifiers()
- Returns a
Setcontaining all the function identifiers supported by this class.
evaluate
public EvaluationResult evaluate(java.util.List inputs, com.sun.xacml.EvaluationCtx context)
- Evaluate the function, using the specified parameters.
|
|||||||||
| Home >> All >> com >> sun >> xacml >> [ cond overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC