|
|||||||||
| 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 SetFunction

java.lang.Objectcom.sun.xacml.cond.FunctionBase
com.sun.xacml.cond.SetFunction
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- ConditionSetFunction, GeneralSetFunction
- public abstract class SetFunction
- extends FunctionBase
Represents all of the Set functions, though the actual implementations are in two sub-classes specific to the condition and general set functions.
- Since:
- 1.0
| Field Summary | |
protected static java.lang.String[] |
baseTypes
A complete list of all the XACML datatypes supported by the Set functions |
static java.lang.String |
NAME_BASE_AT_LEAST_ONE_MEMBER_OF
Base name for the type-at-least-one-member-of funtions. |
static java.lang.String |
NAME_BASE_INTERSECTION
Base name for the type-intersection funtions. |
static java.lang.String |
NAME_BASE_SET_EQUALS
Base name for the type-set-equals funtions. |
static java.lang.String |
NAME_BASE_SUBSET
Base name for the type-subset funtions. |
static java.lang.String |
NAME_BASE_UNION
Base name for the type-union funtions. |
protected static java.lang.String[] |
simpleTypes
A complete list of all the XACML datatypes supported by the Set functions, using the "simple" form of the names (eg, string instead of http://www.w3.org/2001/XMLSchema#string) |
| Fields inherited from class com.sun.xacml.cond.FunctionBase |
FUNCTION_NS |
| Constructor Summary | |
protected |
SetFunction(java.lang.String functionName,
int functionId,
java.lang.String argumentType,
java.lang.String returnType,
boolean returnsBag)
Protected constuctor used by the general and condition subclasses. |
| Method Summary | |
static SetFunction |
getAtLeastOneInstance(java.lang.String functionName,
java.lang.String argumentType)
Creates a new instance of the at-least-one-member-of set function. |
static SetFunction |
getIntersectionInstance(java.lang.String functionName,
java.lang.String argumentType)
Creates a new instance of the intersection set function. |
static SetFunction |
getSetEqualsInstance(java.lang.String functionName,
java.lang.String argumentType)
Creates a new instance of the equals set function. |
static SetFunction |
getSubsetInstance(java.lang.String functionName,
java.lang.String argumentType)
Creates a new instance of the subset set function. |
static java.util.Set |
getSupportedIdentifiers()
Returns a Set containing all the function identifiers
supported by this class. |
static SetFunction |
getUnionInstance(java.lang.String functionName,
java.lang.String argumentType)
Creates a new instance of the union set function. |
| 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 |
| Methods inherited from interface com.sun.xacml.cond.Function |
evaluate |
| Field Detail |
NAME_BASE_INTERSECTION
public static final java.lang.String NAME_BASE_INTERSECTION
- Base name for the type-intersection funtions. To get the standard
identifier for a given type, use
FunctionBase.FUNCTION_NS+ the datatype's base name (e.g.,string) + NAME_BASE_INTERSECTION.- See Also:
- Constant Field Values
NAME_BASE_AT_LEAST_ONE_MEMBER_OF
public static final java.lang.String NAME_BASE_AT_LEAST_ONE_MEMBER_OF
- Base name for the type-at-least-one-member-of funtions. To get the
standard identifier for a given type, use
FunctionBase.FUNCTION_NS+ the datatype's base name (e.g.,string) + NAME_BASE_AT_LEAST_ONE_MEMBER_OF.- See Also:
- Constant Field Values
NAME_BASE_UNION
public static final java.lang.String NAME_BASE_UNION
- Base name for the type-union funtions. To get the standard
identifier for a given type, use
FunctionBase.FUNCTION_NS+ the datatype's base name (e.g.,string) + NAME_BASE_UNION.- See Also:
- Constant Field Values
NAME_BASE_SUBSET
public static final java.lang.String NAME_BASE_SUBSET
- Base name for the type-subset funtions. To get the standard
identifier for a given type, use
FunctionBase.FUNCTION_NS+ the datatype's base name (e.g.,string) + NAME_BASE_SUBSET.- See Also:
- Constant Field Values
NAME_BASE_SET_EQUALS
public static final java.lang.String NAME_BASE_SET_EQUALS
- Base name for the type-set-equals funtions. To get the standard
identifier for a given type, use
FunctionBase.FUNCTION_NS+ the datatype's base name (e.g.,string) + NAME_BASE_SET_EQUALS.- See Also:
- Constant Field Values
baseTypes
protected static java.lang.String[] baseTypes
- A complete list of all the XACML datatypes supported by the Set
functions
simpleTypes
protected static java.lang.String[] simpleTypes
- A complete list of all the XACML datatypes supported by the Set
functions, using the "simple" form of the names (eg, string
instead of http://www.w3.org/2001/XMLSchema#string)
| Constructor Detail |
SetFunction
protected SetFunction(java.lang.String functionName, int functionId, java.lang.String argumentType, java.lang.String returnType, boolean returnsBag)
- Protected constuctor used by the general and condition subclasses.
If you need to create a new
SetFunctioninstance you should either use one of thegetInstancemethods or construct one of the sub-classes directly.
| Method Detail |
getIntersectionInstance
public static SetFunction getIntersectionInstance(java.lang.String functionName, java.lang.String argumentType)
- Creates a new instance of the intersection set function.
This should be used to create support for any new attribute types
and then the new
SetFunctionobject should be added to the factory (all set functions for the base types are already installed in the factory).
getAtLeastOneInstance
public static SetFunction getAtLeastOneInstance(java.lang.String functionName, java.lang.String argumentType)
- Creates a new instance of the at-least-one-member-of set function.
This should be used to create support for any new attribute types
and then the new
SetFunctionobject should be added to the factory (all set functions for the base types are already installed in the factory).
getUnionInstance
public static SetFunction getUnionInstance(java.lang.String functionName, java.lang.String argumentType)
- Creates a new instance of the union set function.
This should be used to create support for any new attribute types
and then the new
SetFunctionobject should be added to the factory (all set functions for the base types are already installed in the factory).
getSubsetInstance
public static SetFunction getSubsetInstance(java.lang.String functionName, java.lang.String argumentType)
- Creates a new instance of the subset set function.
This should be used to create support for any new attribute types
and then the new
SetFunctionobject should be added to the factory (all set functions for the base types are already installed in the factory).
getSetEqualsInstance
public static SetFunction getSetEqualsInstance(java.lang.String functionName, java.lang.String argumentType)
- Creates a new instance of the equals set function.
This should be used to create support for any new attribute types
and then the new
SetFunctionobject should be added to the factory (all set functions for the base types are already installed in the factory).
getSupportedIdentifiers
public static java.util.Set getSupportedIdentifiers()
- Returns a
Setcontaining all the function identifiers supported by this class.
|
|||||||||
| Home >> All >> com >> sun >> xacml >> [ cond overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC