Package com.axemble.vdoc.sdk.impl
Class PortalDirectoryTransformer
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.base.BaseDirectoryTransformer
com.axemble.vdoc.sdk.impl.PortalDirectoryTransformer
- All Implemented Interfaces:
IDirectoryTransformer
,Serializable
public class PortalDirectoryTransformer
extends com.axemble.vdoc.sdk.impl.base.BaseDirectoryTransformer
implements IDirectoryTransformer
- Author:
- vlygeros
- See Also:
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
-
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.Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
-
Field Details
-
prefix
- See Also:
-
-
Constructor Details
-
PortalDirectoryTransformer
- Parameters:
module
-
-
-
Method Details
-
userToXML
Description copied from interface:IDirectoryTransformer
Tranforms aIUser
to an XML stream.- Specified by:
userToXML
in interfaceIDirectoryTransformer
- Parameters:
user
- TheIUser
object to transform.outputStream
- TheOutputStream
object to write the stream to.- Throws:
IOException
-
xmlToUser
Description copied from interface:IDirectoryTransformer
Loads aIUser
object from an XML stream.- Specified by:
xmlToUser
in interfaceIDirectoryTransformer
- Parameters:
inputStream
- TheInputStream
object to read the stream from.- Returns:
- a
IUser
object. - Throws:
IOException
-