blackboard.persist.content
Interface ContentStatusXmlPersister
- All Superinterfaces:
- Persister
public interface ContentStatusXmlPersister
- extends Persister
This interface describes the set of methods that all xml persisters for
ContentStatus
objects must implement.
- Since:
- Bb 6.3
- Version:
- $Revision: #1 $ $Date: 2005/06/27 $
Field Summary |
static java.lang.String |
TYPE
Type used to obtain an instance of the class configured to provide the
implementation for this interface. |
Method Summary |
org.w3c.dom.Element |
persistList(java.util.List list,
org.w3c.dom.Document doc)
Generates an Element whose children are the provided ContentStatus objects persisted to XML. |
TYPE
static final java.lang.String TYPE
- Type used to obtain an instance of the class configured to provide the
implementation for this interface. Used when making a call to
BbPersistenceManager.getLoader(String)
.
- See Also:
- Constant Field Values
persistList
org.w3c.dom.Element persistList(java.util.List list,
org.w3c.dom.Document doc)
throws PersistenceException
- Generates an
Element
whose children are the provided ContentStatus
objects persisted to XML.
- Parameters:
list
- the List
of ContentStatus
objects we should
persist.doc
- the Document
we should should use 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 is the root of a list of
ContentStatus
object XML
- Throws:
PersistenceException
- thrown if an error occurs in the element
writing process.
Copyright © 2003 Blackboard, Inc. All Rights Reserved.