|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.content.crypto.CryptoSchemaCollectionFactory
public final class CryptoSchemaCollectionFactory
Crypto Schema collection factory and utilities. This class provides methods for creating new instances of CryptoSchema
collections as well as providing a number of collection based utility methods and fields. These methods are provided mainly for convenience and to provide a consistent way to create Crypto Schema collections. Methods that take collection parameters make no assumptions about what collection implementation is used, so the use of these factory style methods is at the developers discretion.
Field Summary | |
---|---|
static Collection<CryptoSchema> |
EMPTY_CRYPTO_SCHEMAS An empty Crypto Schema collection. |
Method Summary | |
---|---|
static Collection<CryptoSchema> |
copyCryptoSchemas(Collection<CryptoSchema> collection) Create a shallow copy of a Crypto Schema collection. |
static Collection<CryptoSchema> |
createCryptoSchemas(CryptoSchema... elements) Create a Crypto Schema collection containing zero or more elements. |
static Collection<CryptoSchema> |
createCryptoSchemas(int capacity) Create an empty Crypto Schema collection with a capacity specified. |
static Map<String,CryptoSchema> |
cryptoSchemasAsMap(Collection<CryptoSchema> collection) Create a map keyed on Id from a collection of Crypto Schema elements. |
static Set<CryptoSchema> |
cryptoSchemasAsSet(Collection<CryptoSchema> collection) Create a set of Crypto Schema elements from a collection. |
static CryptoSchema |
getCryptoSchemaById(Collection<CryptoSchema> collection, String key) Get an element from a Crypto Schema collection by Id. |
static Collection<CryptoSchema> |
unmodifiableCryptoSchemas(Collection<CryptoSchema> value) Create an immutable shallow copy of a Crypto Schema collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Collection<CryptoSchema> EMPTY_CRYPTO_SCHEMAS
Method Detail |
---|
public static Collection<CryptoSchema> createCryptoSchemas(CryptoSchema... elements)
elements
- The elements to add into the collection.public static Collection<CryptoSchema> createCryptoSchemas(int capacity)
capacity
- The initial collection capacity.public static Collection<CryptoSchema> copyCryptoSchemas(Collection<CryptoSchema> collection)
collection
- The collection to copy.public static Set<CryptoSchema> cryptoSchemasAsSet(Collection<CryptoSchema> collection)
collection
- The collection to copy.public static Collection<CryptoSchema> unmodifiableCryptoSchemas(Collection<CryptoSchema> value)
value
- The collection to copy.public static Map<String,CryptoSchema> cryptoSchemasAsMap(Collection<CryptoSchema> collection)
collection
- The collection to convert to a map.public static CryptoSchema getCryptoSchemaById(Collection<CryptoSchema> collection, String key)
collection
- The collection.key
- The key.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |