|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentHandlerXmlPersister
ContentHandlerXmlPersister
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 |
persist(ContentHandler obj,
org.w3c.dom.Document doc)
Generates an Element tree whose values and structure matches the
contents of the provided ContentHandler object. |
org.w3c.dom.Element |
persistList(BbList list,
org.w3c.dom.Document doc)
Generates an Element whose children are the provided ContentHandler objects persisted to XML. |
Methods inherited from interface blackboard.persist.Persister |
---|
getAppVersion, init |
Field Detail |
---|
static final java.lang.String TYPE
BbPersistenceManager.getPersister(String)
Method Detail |
---|
org.w3c.dom.Element persist(ContentHandler obj, org.w3c.dom.Document doc) throws ValidationException, PersistenceException
Element
tree whose values and structure matches the
contents of the provided ContentHandler
object.
obj
- the ContentHandler
we should generate the XML tree
for.doc
- the Document
we 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.
Element
that matches the contents of this
ContentHandler
object
ValidationException
- thrown if the provided ContentHandler
is not in a proper condition for persisting.
PersistenceException
- thrown if an error occurs in the element
writing process.org.w3c.dom.Element persistList(BbList list, org.w3c.dom.Document doc) throws ValidationException, PersistenceException
Element
whose children are the provided ContentHandler
objects persisted to XML.
list
- the BbList
of ContentHandler
objects we
should persist.doc
- the Document
we 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.
Element
that is the root of a list of ContentHandler
object XML
ValidationException
- thrown if one of the provided
ContentHandler
objects is not in a proper condition
for persisting.
PersistenceException
- thrown if an error occurs in the element
writing process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |