Class XmlObjectSerializerImpl
- java.lang.Object
-
- org.identityconnectors.framework.impl.serializer.xml.XmlObjectSerializerImpl
-
- All Implemented Interfaces:
XmlObjectSerializer
public class XmlObjectSerializerImpl extends Object implements XmlObjectSerializer
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONNECTORS_DTD
static String
MULTI_OBJECT_ELEMENT
-
Constructor Summary
Constructors Constructor Description XmlObjectSerializerImpl(Writer output, boolean includeHeader, boolean multiObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(boolean closeStream)
Adds document end tag and optinally closes the underlying streamvoid
flush()
Flushes the underlying stream.void
writeObject(Object object)
Writes the next object to the stream.
-
-
-
Field Detail
-
MULTI_OBJECT_ELEMENT
public static final String MULTI_OBJECT_ELEMENT
- See Also:
- Constant Field Values
-
CONNECTORS_DTD
public static final String CONNECTORS_DTD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlObjectSerializerImpl
public XmlObjectSerializerImpl(Writer output, boolean includeHeader, boolean multiObject)
-
-
Method Detail
-
writeObject
public void writeObject(Object object)
Description copied from interface:XmlObjectSerializer
Writes the next object to the stream.- Specified by:
writeObject
in interfaceXmlObjectSerializer
- Parameters:
object
- The object to write.- See Also:
for a list of supported types.
-
flush
public void flush()
Description copied from interface:XmlObjectSerializer
Flushes the underlying stream.- Specified by:
flush
in interfaceXmlObjectSerializer
-
close
public void close(boolean closeStream)
Description copied from interface:XmlObjectSerializer
Adds document end tag and optinally closes the underlying stream- Specified by:
close
in interfaceXmlObjectSerializer
-
-