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 TypeMethodDescriptionvoiduserToXML(IUser user, OutputStream outputStream) Tranforms aIUserto an XML stream.xmlToUser(InputStream inputStream) Loads aIUserobject from an XML stream.
-
Method Details
-
userToXML
Tranforms aIUserto an XML stream.- Parameters:
user- TheIUserobject to transform.outputStream- TheOutputStreamobject to write the stream to.- Throws:
IOException
-
xmlToUser
Loads aIUserobject from an XML stream.- Parameters:
inputStream- TheInputStreamobject to read the stream from.- Returns:
- a
IUserobject. - Throws:
IOException
-