| 
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.combine.CombiningAlgFactory
Provides a factory mechanism for installing and retrieving combining algorithms.
| Constructor Summary | |
protected  | 
CombiningAlgFactory()
Default constructor.  | 
| Method Summary | |
abstract  void | 
addAlgorithm(CombiningAlgorithm alg)
Adds a combining algorithm to the factory.  | 
static void | 
addCombiningAlg(CombiningAlgorithm alg)
Deprecated. As of version 1.2, replaced by addAlgorithm(CombiningAlgorithm).
             The new factory system requires you to get a factory
             instance and then call the non-static methods on that
             factory. The static versions of these methods have been
             left in for now, but are slower and will be removed in
             a future version. | 
abstract  CombiningAlgorithm | 
createAlgorithm(URI algId)
Tries to return the correct combinging algorithm based on the given algorithm ID.  | 
static CombiningAlgorithm | 
createCombiningAlg(URI algId)
Deprecated. As of version 1.2, replaced by createAlgorithm(URI).
             The new factory system requires you to get a factory
             instance and then call the non-static methods on that
             factory. The static versions of these methods have been
             left in for now, but are slower and will be removed in
             a future version. | 
static CombiningAlgFactory | 
getInstance()
Returns the default factory.  | 
abstract  Set | 
getSupportedAlgorithms()
Returns the algorithm identifiers supported by this factory.  | 
static void | 
setDefaultFactory(CombiningAlgFactoryProxy proxy)
Sets the default factory.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
protected CombiningAlgFactory()
| Method Detail | 
public static final CombiningAlgFactory getInstance()
CombiningAlgFactorypublic static final void setDefaultFactory(CombiningAlgFactoryProxy proxy)
public abstract void addAlgorithm(CombiningAlgorithm alg)
alg - the combining algorithm to add
IllegalArgumentException - if the algorithm is already registeredpublic static void addCombiningAlg(CombiningAlgorithm alg)
addAlgorithm(CombiningAlgorithm).
             The new factory system requires you to get a factory
             instance and then call the non-static methods on that
             factory. The static versions of these methods have been
             left in for now, but are slower and will be removed in
             a future version.
alg - the combining algorithm to add
IllegalArgumentException - if the algorithm is already registeredpublic abstract Set getSupportedAlgorithms()
Set of Strings
public abstract CombiningAlgorithm createAlgorithm(URI algId)
                                            throws UnknownIdentifierException
algId - the identifier by which the algorithm is known
UnknownIdentifierException - algId is unknown
public static CombiningAlgorithm createCombiningAlg(URI algId)
                                             throws UnknownIdentifierException
createAlgorithm(URI).
             The new factory system requires you to get a factory
             instance and then call the non-static methods on that
             factory. The static versions of these methods have been
             left in for now, but are slower and will be removed in
             a future version.
algId - the identifier by which the algorithm is known
UnknownIdentifierException - algId is unknown
  | 
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.