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

Quick Search    Search Deep

com.sun.xacml.combine
Class CombiningAlgorithm  view CombiningAlgorithm download CombiningAlgorithm.java

java.lang.Object
  extended bycom.sun.xacml.combine.CombiningAlgorithm
Direct Known Subclasses:
PolicyCombiningAlgorithm, RuleCombiningAlgorithm

public abstract class CombiningAlgorithm
extends java.lang.Object

The base type for all combining algorithms. It provides one method that must be implemented.

Since:
1.0

Field Summary
private  java.net.URI identifier
           
 
Constructor Summary
CombiningAlgorithm(java.net.URI identifier)
          Constructor that takes the algorithm's identifier.
 
Method Summary
abstract  com.sun.xacml.ctx.Result combine(com.sun.xacml.EvaluationCtx context, java.util.List inputs)
          Combines the inputs based on the context to produce some unified result.
 java.net.URI getIdentifier()
          Returns the identifier for this algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

private java.net.URI identifier
Constructor Detail

CombiningAlgorithm

public CombiningAlgorithm(java.net.URI identifier)
Constructor that takes the algorithm's identifier.

Method Detail

combine

public abstract com.sun.xacml.ctx.Result combine(com.sun.xacml.EvaluationCtx context,
                                                 java.util.List inputs)
Combines the inputs based on the context to produce some unified result. This is the one function of a combining algorithm.


getIdentifier

public java.net.URI getIdentifier()
Returns the identifier for this algorithm.