|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.util.ItemMetadataSupport
public final class ItemMetadataSupport
Helper class for dealing with ItemMetadata operations.
| Constructor Summary | |
|---|---|
private |
ItemMetadataSupport()
Constructor. |
| Method Summary | |
|---|---|
static void |
addAll(Item<?> item,
Iterable<? extends ItemMetadata> metadatas)
Adds all the given ItemMetadata items to the given Item element. |
static void |
addToAll(Collection<? extends Item> itemCollection,
Iterable<? extends ItemMetadata> metadatas)
Adds all the give ItemMetadata items to each Item element in the given collection. |
static void |
addToCollection(Collection<? extends Item> itemCollection,
Iterable<? extends ItemMetadata> itemMetadatas)
Adds one or more ItemMetadata to the given collection if the collection is an instance of
ItemCollectionWithMetadata. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private ItemMetadataSupport()
| Method Detail |
|---|
public static void addToAll(@Nullable
Collection<? extends Item> itemCollection,
@Nullable@NullableElements
Iterable<? extends ItemMetadata> metadatas)
ItemMetadata items to each Item element in the given collection.
itemCollection - collection of Item elementsmetadatas - collection of ItemMetadata items to be added to each Item element of the given
collection
public static void addAll(@Nullable
Item<?> item,
@Nullable@NullableElements
Iterable<? extends ItemMetadata> metadatas)
ItemMetadata items to the given Item element.
item - element to which ItemMetadata will be addedmetadatas - ItemMetadata to be added to the metadata element
public static void addToCollection(@Nullable
Collection<? extends Item> itemCollection,
@Nullable@NullableElements
Iterable<? extends ItemMetadata> itemMetadatas)
ItemMetadata to the given collection if the collection is an instance of
ItemCollectionWithMetadata.
itemCollection - collection to which the metadata may be addeditemMetadatas - the metadata which may be added to the collection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||