net.shibboleth.metadata
Interface ItemSerializer<ItemType extends Item<?>>
- Type Parameters:
ItemType - type of Item that can be serialized to an OutputStream
- All Known Implementing Classes:
- DomElementSerializer
public interface ItemSerializer<ItemType extends Item<?>>
Serializers convert a collection of Item in to an octet stream.
serialize
void serialize(@Nonnull@NonnullElements
Collection<ItemType> itemCollection,
@Nonnull
OutputStream output)
- Serializes the Item to the given output stream.
- Parameters:
itemCollection - collection of Itemsoutput - output stream to which the Item will be written
Copyright © 1999-2012. All Rights Reserved.