Package net.shibboleth.metadata
Interface ItemSerializer<T>
- Type Parameters:
T- type of data contained in the item
- All Known Implementing Classes:
DOMElementSerializer
public interface ItemSerializer<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(Item<T> item, OutputStream output) Serializes theItemto the given output stream.
-
Method Details
-
serialize
Serializes theItemto the given output stream.- Parameters:
item-Itemto be serializedoutput- output stream to which the serializedItemwill be written- Throws:
IOException- if an I/O exception occurs during serialization
-