Package com.axemble.vdoc.sdk.interfaces
Interface IDirectoryTransformer
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PortalDirectoryTransformer
Allows to transform directory elements to and from XML documents.
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
userToXML
(IUser user, OutputStream outputStream) Tranforms aIUser
to an XML stream.xmlToUser
(InputStream inputStream) Loads aIUser
object from an XML stream.
-
Method Details
-
userToXML
Tranforms aIUser
to an XML stream.- Parameters:
user
- TheIUser
object to transform.outputStream
- TheOutputStream
object to write the stream to.- Throws:
IOException
-
xmlToUser
Loads aIUser
object from an XML stream.- Parameters:
inputStream
- TheInputStream
object to read the stream from.- Returns:
- a
IUser
object. - Throws:
IOException
-