Oracle® Fusion Middleware .NET API Reference for Identity Connector Framework
E57662-01
|
Serializer factory for serializing connector objects. More...
Public Member Functions | |
abstract BinaryObjectSerializer | NewBinarySerializer (Stream os) |
Creates a More... | |
abstract BinaryObjectDeserializer | NewBinaryDeserializer (Stream i) |
Creates a More... | |
abstract XmlObjectSerializer | NewXmlSerializer (TextWriter w, bool includeHeader, bool multiObject) |
Creates a More... | |
abstract void | DeserializeXmlStream (TextReader reader, XmlObjectResultsHandler handler, bool validate) |
Deserializes XML objects from a stream NOTE: Consider using SerializerUtil.DeserializeXmlObject(String,bool) for convenience deserializing a single object. More... | |
Static Public Member Functions | |
static ObjectSerializerFactory | GetInstance () |
Get the singleton instance of the Org.IdentityConnectors.Framework.Common.Serializer.ObjectSerializerFactory. More... | |
Serializer factory for serializing connector objects.
The list of supported types are as follows: TODO: list supported types
|
pure virtual |
Deserializes XML objects from a stream NOTE: Consider using SerializerUtil.DeserializeXmlObject(String,bool) for convenience deserializing a single object.
NOTE2: Do not mix and match SerializerUtil.DeserializeXmlObject(String,bool) with {NewXmlSerializer(TextWriter, bool, bool).
is | The input source |
handler | The callback to receive objects from the stream |
validate | True iff we are to validate |
|
static |
Get the singleton instance of the Org.IdentityConnectors.Framework.Common.Serializer.ObjectSerializerFactory.
|
pure virtual |
Creates a
BinaryObjectDeserializer
for reading objects from the given stream.
NOTE: consider using SerializerUtil.DeserializeBinaryObject(byte[]) for convenience deserializing a single object. NOTE2: do not mix and match SerializerUtil.DeserializeBinaryObject(byte[]) with {NewBinarySerializer(Stream). This is unsafe since there is header information and state associated with the stream. Objects written using one method must be read using the proper corresponding method.
os | The stream |
|
pure virtual |
Creates a
BinaryObjectSerializer
for writing objects to the given stream.
NOTE: consider using SerializerUtil.SerializeBinaryObject(Object) for convenience serializing a single object.
NOTE2: do not mix and match SerializerUtil.SerializeBinaryObject(Object) with {NewBinaryDeserializer(Stream). This is unsafe since there is header information and state associated with the stream. Objects written using one method must be read using the proper corresponding method.
os | The stream |
|
pure virtual |
Creates a
BinaryObjectSerializer
for writing objects to the given stream.
NOTE: consider using SerializerUtil.SerializeXmlObject(Object,bool) for convenience serializing a single object.
NOTE2: do not mix and match SerializerUtil.SerializeXmlObject(Object,bool) with {DeserializeXmlStream(TextReader, XmlObjectResultsHandler, bool).
w | The writer |
includeHeader | True to include the xml header |
multiObject | Is this to produce a multi-object document. If false, only a single object may be written. |