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