SunTM's XACML Implementation for JavaTM

Package com.sun.xacml.cond

Support for Conditions is in this package.

See:
          Description

Interface Summary
Evaluatable Generic interface that is implemented by all objects that can appear in an ApplyType.
Function Interface that all functions in the system must implement.
FunctionFactoryProxy A simple proxy interface used to install new FunctionFactorys.
FunctionProxy Used by abstract functions to define how new functions are created by the factory.
 

Class Summary
AbsFunction A class that implements all the *-abs functions.
AddFunction A class that implements all the *-add functions.
Apply Represents the XACML ApplyType and ConditionType XML types.
BagFunction Represents all of the Bag functions, though the actual implementations are in two sub-classes specific to the condition and general bag functions.
BaseFunctionFactory This is a basic implementation of FunctionFactory.
BasicFunctionFactoryProxy A simple utility class that manages triples of function factories.
ComparisonFunction A class that implements all of the standard comparison functions.
ConditionBagFunction Specific BagFunction class that supports the single condition bag function: type-is-in.
ConditionSetFunction Specific SetFunction class that supports all of the condition set functions: type-at-least-one-member-of, type-subset, and type-set-equals.
DateMathFunction A class that implements several of the date math functions.
DivideFunction A class that implements all the *-divide functions.
EqualFunction A class that implements all the *-equal functions.
EvaluationResult This is used in cases where a normal result is some AttributeValue, but if an attribute couldn't be resolved (or some other problem occurred), then a Status object needs to be returned instead.
FloorFunction A class that implements the floor function.
FunctionBase An abstract utility superclass for functions.
FunctionFactory Factory used to create all functions.
GeneralBagFunction Specific BagFunction class that supports all of the general-purpose bag functions: type-one-and-only, type-bag-size, and type-bag.
GeneralSetFunction Specific SetFunction class that supports all of the general-purpose set functions: type-intersection and type-union.
HigherOrderFunction Represents all of the higher order bag functions, except map, which has its own class due to the issues with its return type.
LogicalFunction A class that implements the logical functions "or" and "and".
MapFunctionProxy A basic proxy class that supports map, the only standard abstract function.
MatchFunction Implements the three standard matching functions.
ModFunction A class that implements the integer-mod function.
MultiplyFunction A class that implements all the *-multiply functions.
NOfFunction A class that implements the n-of function.
NotFunction A class that implements the not function.
NumericConvertFunction A class that implements all the numeric type conversion functions (double-to-integer and integer-to-double).
RoundFunction A class that implements the round function.
SetFunction Represents all of the Set functions, though the actual implementations are in two sub-classes specific to the condition and general set functions.
StandardFunctionFactory This factory supports the standard set of functions specified in XACML 1.0 and 1.1.
StringNormalizeFunction A class that implements all the string conversion functions (string-normalize-space and string-normalize-to-lower-case).
SubtractFunction A class that implements all the *-subtract functions.
 

Exception Summary
FunctionTypeException Exception that gets thrown if one of the createFunction methods on the FunctionFactory was called, but the other method should have been called instead.
 

Package com.sun.xacml.cond Description

Support for Conditions is in this package. This contains all of the function code, including base types, implementations of all of the standard functions, and a factory for getting functions and adding new ones to the system. There is also support for the Condition and Apply XML types.

Note that prior to the 1.2 release, most of the function implementations in this package were package private, mostly because there is no reason to interact with these classes directly. With the 1.2 release all classes were exposed, in part to make all the standard identifier strings easily available. If you need a function instance, however, you should still use the factory interface. You should not ever need to instantiate one of the standard function classes directly. Note also that in the next major release some of the function impementations may change their interfaces, which is another reason to interact with the standard functions only through the factory interface.


Sun's XACML Implementation Version 1.2

Copyright 2003-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.