|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageXmlPersister
MessageXmlPersister
| 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(Message obj,
org.w3c.dom.Document doc)
Generates an Element tree whose values and structure matches the
contents of the provided Message object. |
void |
persist(Message obj,
java.util.List<java.lang.String> list,
java.lang.String previousMsgId,
java.lang.String previousMsgParentId,
javax.xml.stream.XMLStreamWriter writer)
Generates an Element tree whose values and structure matches the
contents of the provided Message object. |
| 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(Message obj,
org.w3c.dom.Document doc)
throws ValidationException,
PersistenceException
Element tree whose values and structure matches the
contents of the provided Message object.
obj - the Message we should generate the XML tree for.doc - the (@link 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.
Element that matches the contents of this Message
object
ValidationException - not thrown
PersistenceException
void persist(Message obj,
java.util.List<java.lang.String> list,
java.lang.String previousMsgId,
java.lang.String previousMsgParentId,
javax.xml.stream.XMLStreamWriter writer)
throws ValidationException,
PersistenceException,
javax.xml.stream.XMLStreamException
Element tree whose values and structure matches the
contents of the provided Message object.
obj - the Message we should generate the XML tree for.list - list of Messages that have not been ended with tag yet.previousMsgId - The ExternalString of previous Message's IdpreviousMsgParentId - The ExternalString of the Parent's Id of previous Messagewriter - the (@link XMLStreamWriter} we should should use to writer the XML document
ValidationException - not thrown
PersistenceException
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||