public abstract class SetFunction extends FunctionBase
Modifier and Type | Field and Description |
---|---|
protected static String[] |
baseTypes
A complete list of all the XACML datatypes supported by the Set
functions in XACML 1.x
|
protected static String[] |
baseTypes2
A complete list of all the XACML datatypes newly supported by the Set
functions in XACML 2.0
|
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 in XACML 1.x, using the "simple" form of the names (eg,
string instead of http://www.w3.org/2001/XMLSchema#string)
|
protected static String[] |
simpleTypes2
A complete list of all the XACML datatypes newly supported by the Set
functions in XACML 2.0, using the "simple" form of the names (eg,
string instead of http://www.w3.org/2001/XMLSchema#string)
|
FUNCTION_NS, FUNCTION_NS_2
Modifier | Constructor and Description |
---|---|
protected |
SetFunction(String functionName,
int functionId,
String argumentType,
String returnType,
boolean returnsBag)
Protected constuctor used by the general and condition subclasses.
|
Modifier and Type | Method and Description |
---|---|
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.
|
checkInputs, checkInputsNoBag, encode, encode, evalArgs, getFunctionId, getFunctionName, getIdentifier, getReturnType, getReturnTypeAsString, getType, makeProcessingError, returnsBag
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[] baseTypes2
protected static String[] simpleTypes
protected static String[] simpleTypes2
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 bagspublic 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 withSetFunction
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 withSetFunction
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 withSetFunction
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 withSetFunction
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 withSetFunction
for the given typepublic static Set getSupportedIdentifiers()
Set
containing all the function identifiers
supported by this class.Set
of String
sCopyright © 2023 JBoss by Red Hat. All rights reserved.