|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom.Document
org.jSyncManager.API.Conduit.Tools.JSXMLDocument
org.jSyncManager.API.Conduit.Tools.DLPRecordXML
org.jSyncManager.API.Conduit.Tools.MailDBXML
This is a synchronization JConduit for ax XML document from the MailDB database. Each element in the record will be a double-quoted String, escaped if necessary. Format of a PalmOS mail record Message Date/time (2 bytes for date, one for hours, and one for minutes) Flags (1 byte) Subject (optional) From (optional) To (optional) CC (optional) BCC (optional) ReplyTo (optional) SentTo (optional) Message Body
JSXMLDocument,
JSXMLElement,
JSXMLDate,
DLPRecordXML,
Serialized Form| Field Summary | |
(package private) MailRecord |
record
|
static java.lang.String |
RECORDNAME
|
static java.lang.String |
XMLNAME
|
| Fields inherited from class org.jdom.Document |
baseURI |
| Constructor Summary | |
MailDBXML()
Create new JSXMLDocument with default name and MailDB DTD entity. |
|
MailDBXML(java.io.InputStreamReader inputfile)
Create new MailDBScanner with InputStreamReader stream input. |
|
MailDBXML(JSXMLDocument document)
Create new JSXMLDocument with given JSXMLDocument. |
|
MailDBXML(MailRecord rec)
Create new JSXMLDocument with given MailRecord. |
|
| Method Summary | |
java.lang.String |
getDTD()
Get the complete DTD for this database type. |
MailRecord |
insertRecord(MailRecord rec)
Insert MailRecord into XML Document. |
void |
readDocument(java.io.InputStreamReader inputfile)
Read JSXMLDocument through InputStreamReader and parse into XML Document. |
(package private) void |
readElement_jSyncManagerMailRecord(JSXMLElement element)
Parse JSXMLElement element into Document |
| Methods inherited from class org.jSyncManager.API.Conduit.Tools.DLPRecordXML |
insertRecord, readDocument |
| Methods inherited from class org.jSyncManager.API.Conduit.Tools.JSXMLDocument |
readDocument, readDocument, readDocument, setDocument, setDTD, writeDocument |
| Methods inherited from class org.jdom.Document |
addContent, addContent, addContent, addContent, canContain, clone, cloneContent, detachRootElement, equals, getBaseURI, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getDocType, getDocument, getParent, getProperty, getRootElement, hashCode, hasRootElement, indexOf, removeContent, removeContent, removeContent, removeContent, setBaseURI, setContent, setContent, setContent, setContent, setDocType, setProperty, setRootElement, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.lang.String XMLNAME
public static java.lang.String RECORDNAME
MailRecord record
| Constructor Detail |
public MailDBXML()
public MailDBXML(MailRecord rec)
rec - MailRecordpublic MailDBXML(JSXMLDocument document)
document - The JSXMLDocument to be read and input.
public MailDBXML(java.io.InputStreamReader inputfile)
throws org.jdom.JDOMException,
java.io.IOException
inputfile - InputStreamReader
org.jdom.JDOMException - JDOMException thrown.
java.io.IOException - IOException thrown.| Method Detail |
public MailRecord insertRecord(MailRecord rec)
rec - MailRecord input.
public java.lang.String getDTD()
getDTD in class DLPRecordXML
public void readDocument(java.io.InputStreamReader inputfile)
throws org.jdom.JDOMException,
java.io.IOException
readDocument in class JSXMLDocumentinputfile - InputStreamReader input.
org.jdom.JDOMException - JDOMException thrown.
java.io.IOException - IOException thrown.void readElement_jSyncManagerMailRecord(JSXMLElement element)
element - JSXMLElement to be parsed and inserted.
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||