|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.ddlgen.keygenerator.MaxKeyGeneratorFactory
Factory class for MAX key generators.
| Constructor Summary | |
MaxKeyGeneratorFactory()
|
|
| Method Summary | |
KeyGenerator |
createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. This is only possible for those algorithms that do not require mandatory parameters. |
KeyGenerator |
createKeyGenerator(org.exolab.castor.mapping.xml.KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
java.lang.String |
getAlgorithmName()
Get name of key generator algorithm. |
boolean |
hasMandatoryParameters()
Does the algorithm has mandatory parameters and therefore requires a key generator definition in mapping file? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MaxKeyGeneratorFactory()
| Method Detail |
public java.lang.String getAlgorithmName()
getAlgorithmName in interface KeyGeneratorFactorypublic boolean hasMandatoryParameters()
hasMandatoryParameters in interface KeyGeneratorFactorytrue if algorithm has mandatory parameters and therefore
requires a key generator definition in mapping file. false
if algorithm does not require parameters or has only optional parameters.public KeyGenerator createKeyGenerator()
createKeyGenerator in interface KeyGeneratorFactory
public KeyGenerator createKeyGenerator(org.exolab.castor.mapping.xml.KeyGeneratorDef definition)
throws GeneratorException
createKeyGenerator in interface KeyGeneratorFactorydefinition - The definition to initialize the key generator.
GeneratorException - If failed to create a key generator instance.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||