blackboard.persist.content
Interface UploadedFileXmlPersister

All Superinterfaces:
Persister

public interface UploadedFileXmlPersister
extends Persister

UploadedFileXmlPersister

Since:
Bb 6.2
Version:
$Revision: 2 $ $Date: 12/03/02 7:49p $

Field Summary
static java.lang.String TYPE
           
 
Method Summary
 org.w3c.dom.Element persist(UploadedFile uploadedFile, org.w3c.dom.Document doc)
          Generates an Element tree whose values and structure matches the contents of the provided UploadedFile object.
 
Methods inherited from interface blackboard.persist.Persister
getAppVersion, init
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Method Detail

persist

public org.w3c.dom.Element persist(UploadedFile uploadedFile,
                                   org.w3c.dom.Document doc)
                            throws PersistenceException
Generates an Element tree whose values and structure matches the contents of the provided UploadedFile object.

Parameters:
doc - the Document used to create the Element with. No assumptions should be made concerning the state of this Document -- it should only be used for Element creation.
Returns:
an Element that matches the contents of this UploadedFile object
Throws:
ValidationException - thrown if the provided UploadedFile is not in a proper condition for persisting.
PersistenceException - thrown if an error occurs in the element writin process.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.