|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ForumXmlLoader
ForumXmlLoader
| 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 | |
|---|---|
Forum |
load(org.w3c.dom.Element rootElement)
Generates an Forum object given an Element tree whose
structure and contents match those generated by ForumXMLPersister
. |
Forum |
load(java.io.InputStream is)
Generates an Forum object given an InputStream which
contains XML whose structure and contents match those generated by
ForumXMLPerister. |
| Methods inherited from interface blackboard.persist.Loader |
|---|
getAppVersion, init |
| Field Detail |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String)
| Method Detail |
|---|
Forum load(org.w3c.dom.Element rootElement)
throws java.lang.IllegalArgumentException,
PersistenceException
Forum object given an Element tree whose
structure and contents match those generated by ForumXMLPersister
.
rootElement - the root (@link Element} of a valid Forum
XML tree that should be transformed.
Forum whose contents matches those of the
Element tree provided.
java.lang.IllegalArgumentException - thrown if the provided Element
is not the root of a valid Forum XML tree.
PersistenceException - thrown if an error occurs in the element reading
process.
Forum load(java.io.InputStream is)
throws java.lang.IllegalArgumentException,
PersistenceException
Forum object given an InputStream which
contains XML whose structure and contents match those generated by
ForumXMLPerister.
is - the InputStream containg the XML to load the forum from
Forum whose contents matches those of the XML
contained within the provided stream.
java.lang.IllegalArgumentException - thrown if the provided stream does not
contain a valid Forum XML tree.
PersistenceException - thrown if an error occurs in the element
reading process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||