|
SunTM's XACML Implementation for JavaTM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xacml.cond.FunctionBase
com.sun.xacml.cond.SetFunction
Represents all of the Set functions, though the actual implementations are in two sub-classes specific to the condition and general set functions.
Field Summary | |
protected static String[] |
baseTypes
A complete list of all the XACML datatypes supported by the Set functions |
static String |
NAME_BASE_AT_LEAST_ONE_MEMBER_OF
Base name for the type-at-least-one-member-of funtions. |
static String |
NAME_BASE_INTERSECTION
Base name for the type-intersection funtions. |
static String |
NAME_BASE_SET_EQUALS
Base name for the type-set-equals funtions. |
static String |
NAME_BASE_SUBSET
Base name for the type-subset funtions. |
static String |
NAME_BASE_UNION
Base name for the type-union funtions. |
protected static 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(String functionName,
int functionId,
String argumentType,
String returnType,
boolean returnsBag)
Protected constuctor used by the general and condition subclasses. |
Method Summary | |
static SetFunction |
getAtLeastOneInstance(String functionName,
String argumentType)
Creates a new instance of the at-least-one-member-of set function. |
static SetFunction |
getIntersectionInstance(String functionName,
String argumentType)
Creates a new instance of the intersection set function. |
static SetFunction |
getSetEqualsInstance(String functionName,
String argumentType)
Creates a new instance of the equals set function. |
static SetFunction |
getSubsetInstance(String functionName,
String argumentType)
Creates a new instance of the subset set function. |
static Set |
getSupportedIdentifiers()
Returns a Set containing all the function identifiers
supported by this class. |
static SetFunction |
getUnionInstance(String functionName,
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 |
public static final String NAME_BASE_INTERSECTION
FunctionBase.FUNCTION_NS
+ the datatype's base name (e.g., string
) +
NAME_BASE_INTERSECTION.
public static final String NAME_BASE_AT_LEAST_ONE_MEMBER_OF
FunctionBase.FUNCTION_NS
+ the datatype's base name
(e.g., string
) +
NAME_BASE_AT_LEAST_ONE_MEMBER_OF.
public static final String NAME_BASE_UNION
FunctionBase.FUNCTION_NS
+ the datatype's base name (e.g., string
) +
NAME_BASE_UNION.
public static final String NAME_BASE_SUBSET
FunctionBase.FUNCTION_NS
+ the datatype's base name (e.g., string
) +
NAME_BASE_SUBSET.
public static final String NAME_BASE_SET_EQUALS
FunctionBase.FUNCTION_NS
+ the datatype's base name (e.g., string
) +
NAME_BASE_SET_EQUALS.
protected static String[] baseTypes
protected static String[] simpleTypes
Constructor Detail |
protected SetFunction(String functionName, int functionId, String argumentType, String returnType, boolean returnsBag)
SetFunction
instance you
should either use one of the getInstance
methods or
construct one of the sub-classes directly.
functionName
- the identitifer for the functionfunctionId
- an optional, internal numeric identifierargumentType
- the datatype this function acceptsreturnType
- the datatype this function returnsreturnsBag
- whether this function returns bagsMethod Detail |
public static SetFunction getIntersectionInstance(String functionName, String argumentType)
SetFunction
object should be added
to the factory (all set functions for the base types are already
installed in the factory).
functionName
- the name of the functionargumentType
- the attribute type this function will work with
SetFunction
for the given typepublic static SetFunction getAtLeastOneInstance(String functionName, String argumentType)
SetFunction
object should be added
to the factory (all set functions for the base types are already
installed in the factory).
functionName
- the name of the functionargumentType
- the attribute type this function will work with
SetFunction
for the given typepublic static SetFunction getUnionInstance(String functionName, String argumentType)
SetFunction
object should be added
to the factory (all set functions for the base types are already
installed in the factory).
functionName
- the name of the functionargumentType
- the attribute type this function will work with
SetFunction
for the given typepublic static SetFunction getSubsetInstance(String functionName, String argumentType)
SetFunction
object should be added
to the factory (all set functions for the base types are already
installed in the factory).
functionName
- the name of the functionargumentType
- the attribute type this function will work with
SetFunction
for the given typepublic static SetFunction getSetEqualsInstance(String functionName, String argumentType)
SetFunction
object should be added
to the factory (all set functions for the base types are already
installed in the factory).
functionName
- the name of the functionargumentType
- the attribute type this function will work with
SetFunction
for the given typepublic static Set getSupportedIdentifiers()
Set
containing all the function identifiers
supported by this class.
Set
of String
s
|
Sun's XACML Implementation Version 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.