Skip navigation links


org.identityconnectors.framework.common.serializer
Interface XmlObjectSerializer


public interface XmlObjectSerializer

Interface for writing objects to a stream.


Method Summary
 void close(boolean closeUnderlyingStream)
          Adds document end tag and optinally closes the underlying stream
 void flush()
          Flushes the underlying stream.
 void writeObject(java.lang.Object object)
          Writes the next object to the stream.

 

Method Detail

writeObject

void writeObject(java.lang.Object object)
Writes the next object to the stream.
Parameters:
object - The object to write.
Throws:
ConnectorException - if there is more than one object and this is not configured for multi-object document.
See Also:
for a list of supported types.

flush

void flush()
Flushes the underlying stream.

close

void close(boolean closeUnderlyingStream)
Adds document end tag and optinally closes the underlying stream

Skip navigation links


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.