Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.xacml.cond.cluster.* (23)

com.sun.xacml.cond: Javadoc index of package com.sun.xacml.cond.


Package Samples:

com.sun.xacml.cond.cluster: Support for Conditions is in this package.  

Classes:

BaseFunctionFactory: This is a basic implementation of FunctionFactory . It implements the insertion and retrieval methods, but it doesn't actually setup the factory with any functions. It also assumes a certain model with regard to the different kinds of functions (Target, Condition, and General). For this reason, you may want to re-use this class, or you may want to extend FunctionFactory directly, if you're writing a new factory implementation. Note that while this class is thread-safe on all creation methods, it is not safe to add support for a new function while creating an instance of a function. This follows ...
StandardFunctionFactory: This factory supports the standard set of functions specified in XACML 1.0 and 1.1. It is the default factory used by the system, and imposes a singleton pattern insuring that there is only ever one instance of this class. Note that because this supports only the standard functions, this factory does not allow the addition of any other functions. If you call addFunction on an instance of this class, an exception will be thrown. If you need a standard factory that is modifiable, you can either create a new BaseFunctionFactory (or some other implementation of FunctionFactory ) populated with the ...
NOfFunction: A class that implements the n-of function. It requires at least one argument. The first argument must be an integer and the rest of the arguments must be booleans. If the number of boolean arguments that evaluate to true is at least the value of the first argument, the function returns true. Otherwise, it returns false (or indeterminate, as described in the next paragraph. This function evaluates the arguments one at a time, starting with the first one. As soon as the result of the function can be determined, evaluation stops and that result is returned. During this process, if any argument evaluates ...
FunctionFactory: Factory used to create all functions. There are three kinds of factories: general, condition, and target. These provide functions that can be used anywhere, only in a condition's root and only in a target (respectively). Note that all functions, except for abstract functions, are singletons, so any instance that is added to a factory will be the same one returned from the create methods. This is done because most functions don't have state, so there is no need to have more than one, or to spend the time creating multiple instances that all do the same thing.
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. This is used instead of throwing an exception for performance, but mainly because failure to resolve an attribute is not an error case for the code, merely for the evaluation, and represents normal operation. Separate exception types will be added later to represent errors in pdp operation.
DateMathFunction: A class that implements several of the date math functions. They all take two arguments. The first is a DateTimeAttribute or a DateAttribute (as the case may be) and the second is a DayTimeDurationAttribute or a YearMonthDurationAttribute (as the case may be). The function adds or subtracts the second argument to/from the first and returns a value of the same type as the first argument. If either of the arguments evaluates to indeterminate, an indeterminate result is returned.
FunctionCluster: Interface used by classes that support more than one function. It's a common design model to have a single class support more than one XACML function. In those cases, you should provide a proxy that implements FunctionCluster in addition to the Function . This is particularly important for the run-time configuration system, which uses this interface to create "clusters" of functions and therefore can use a smaller configuration file.
LogicalFunction: A class that implements the logical functions "or" and "and". These functions take any number of boolean arguments and evaluate them one at a time, starting with the first argument. As soon as the result of the function can be determined, evaluation stops and that result is returned. During this process, if any argument evaluates to indeterminate, an indeterminate result is returned.
HigherOrderFunction: Represents all of the higher order bag functions, except map, which has its own class due to the issues with its return type. Unlike the other functions that are designed to work over any types (the type-* functions) these functions don't use specific names to describe what type they operate over, so you don't need to install new instances for any new datatypes you define.
NumericConvertFunction: A class that implements all the numeric type conversion functions (double-to-integer and integer-to-double). It takes one argument of the appropriate type, converts that argument to the other type, and returns the result. If the argument is indeterminate, an indeterminate result is returned.
FunctionFactoryProxy: A simple proxy interface used to install new FunctionFactory s. The three kinds of factory (Target, Condition, and General) are tied together in this interface because implementors writing new factories should always implement all three types and provide them together.
EqualFunction: A class that implements all the *-equal functions. It takes two operands of the appropriate type and returns a BooleanAttribute indicating whether both of the operands are equal. If either of the operands is indeterminate, an indeterminate result is returned.
StringNormalizeFunction: A class that implements all the string conversion functions (string-normalize-space and string-normalize-to-lower-case). It takes string argument, normalizes that value, and returns the result. If the argument is indeterminate, an indeterminate result is returned.
Evaluatable: Generic interface that is implemented by all objects that can appear in an ApplyType. This lets the evaluation code of Apply and functions iterate through their members and evaluate them, working only on the returned values or errors.
FloorFunction: A class that implements the floor function. It takes one double operand, chooses the largest integer less than or equal to that value, and returns that integer (as a double). If the operand is indeterminate, an indeterminate result is returned.
FunctionBase: An abstract utility superclass for functions. Supplies several useful methods, making it easier to implement a Function . You can extend this class or implement Function directly, depending on your needs.
SubtractFunction: A class that implements all the *-subtract functions. It takes two operands of the appropriate type and returns the difference of the operands. If either of the operands is indeterminate, an indeterminate result is returned.
MultiplyFunction: A class that implements all the *-multiply functions. It takes two operands of the appropriate type and returns the product of the operands. If either of the operands is indeterminate, an indeterminate result is returned.
DivideFunction: A class that implements all the *-divide functions. It takes two operands of the appropriate type and returns the quotient of the operands. If either of the operands is indeterminate, an indeterminate result is returned.
AddFunction: A class that implements all the *-add functions. It takes two or more operands of the appropriate type and returns the sum of the operands. If any of the operands is indeterminate, an indeterminate result is returned.
NotFunction: A class that implements the not function. This function takes one boolean argument and returns the logical negation of that value. If the argument evaluates to indeterminate, an indeterminate result is returned.
AbsFunction: A class that implements all the *-abs functions. It takes one operand of the appropriate type and returns the absolute value of the operand. If the operand is indeterminate, an indeterminate result is returned.
FunctionProxy: Used by abstract functions to define how new functions are created by the factory. Note that all functions using XPath are defined to be abstract functions, so they must be created using this interface.
RoundFunction: A class that implements the round function. It takes one double operand, rounds that value to an integer and returns that integer. If the operand is indeterminate, an indeterminate result is returned.
ModFunction: A class that implements the integer-mod function. It takes two integer operands and returns the remainder. If either of the operands is indeterminate, an indeterminate result is returned.

Home | Contact Us | Privacy Policy | Terms of Service