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(Collection<ItemType> itemCollection,
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 © 2009-2011. All Rights Reserved.