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.


Method Summary
 void serialize(Collection<ItemType> itemCollection, OutputStream output)
          Serializes the Item to the given output stream.
 

Method Detail

serialize

void serialize(@Nonnull@NonnullElements
               Collection<ItemType> itemCollection,
               @Nonnull
               OutputStream output)
Serializes the Item to the given output stream.

Parameters:
itemCollection - collection of Items
output - output stream to which the Item will be written


Copyright © 1999-2012. All Rights Reserved.