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