net.shibboleth.metadata.dom
Class DomElementSerializer
java.lang.Object
net.shibboleth.metadata.dom.DomElementSerializer
- All Implemented Interfaces:
- ItemSerializer<DomElementItem>
@ThreadSafe
public class DomElementSerializer
- extends Object
- implements ItemSerializer<DomElementItem>
Very simple serializer that serializes the owning document of the first element of the given DomElementItem
collection. All other elements of the collection are ignored.
|
Field Summary |
private Logger |
log
Class logger. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private final Logger log
- Class logger.
DomElementSerializer
public DomElementSerializer()
serialize
public void serialize(Collection<DomElementItem> itemCollection,
OutputStream output)
- Serializes the Item to the given output stream.
- Specified by:
serialize in interface ItemSerializer<DomElementItem>
- Parameters:
itemCollection - collection of Itemsoutput - output stream to which the Item will be written
Copyright © 2009-2011. All Rights Reserved.