|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jdom.Document | +--org.jSyncManager.API.Protocol.Util.JSXMLDocument
A container for holding an XML representation of a database. This class parses and holds an XML document for use.
JSXMLElement
,
DLPRecordXML
, Serialized FormFields inherited from class org.jdom.Document |
---|
content, docType |
Constructor Summary | |
---|---|
JSXMLDocument()
Create new instance of JSXMLDocument. |
|
JSXMLDocument(java.io.InputStreamReader inputfile)
Scan through org.jdom.Document document. |
|
JSXMLDocument(java.lang.String name)
Scan through org.jdom.Document document. |
|
JSXMLDocument(java.net.URL url)
Scan through org.jdom.Document document. |
|
JSXMLDocument(java.net.URL url,
boolean validate)
Scan through org.jdom.Document document. |
Method Summary | |
---|---|
java.lang.String |
getDTD()
Retrieve the DTD for the current element. |
void |
readDocument(java.io.InputStreamReader inputfile)
Read document from InputStreadReader and parse. |
void |
readDocument(java.io.InputStreamReader inputfile,
boolean validate)
Read document from InputStreadReader and parse. |
void |
readDocument(java.net.URL url)
Read document from InputStreadReader and parse. |
void |
readDocument(java.net.URL url,
boolean validate)
Read document from InputStreadReader and parse. |
void |
setDocument(org.jdom.Document document)
Setter for property document. |
void |
setDTD(java.lang.String dtdname)
Set the DTD name from a string value, and create the DTD for the current element. |
void |
writeDocument(java.io.OutputStreamWriter outputfile)
Write out org.jdom.Document document to the given OutputStreamWriter stream. |
Methods inherited from class org.jdom.Document |
---|
addContent, addContent, clone, detachRootElement, equals, getContent, getContent, getDocType, getRootElement, hashCode, hasRootElement, removeContent, removeContent, setContent, setDocType, setRootElement, toString |
Methods inherited from class java.lang.Object |
---|
|
Constructor Detail |
public JSXMLDocument()
public JSXMLDocument(java.lang.String name)
name
- New String valuename of elementpublic JSXMLDocument(java.io.InputStreamReader inputfile) throws org.jdom.JDOMException, java.io.IOException
inputfile
- InputStreamReader to parse document from.org.jdom.JDOMException
- java.io.IOException
- public JSXMLDocument(java.net.URL url) throws org.jdom.JDOMException, java.io.IOException
url
- URL object to parse document from.org.jdom.JDOMException
- java.io.IOException
- public JSXMLDocument(java.net.URL url, boolean validate) throws org.jdom.JDOMException, java.io.IOException
url
- URL object to parse document from.org.jdom.JDOMException
- java.io.IOException
- Method Detail |
public void readDocument(java.io.InputStreamReader inputfile) throws org.jdom.JDOMException, java.io.IOException
inputfile
- InputStreamReader to parse document from.org.jdom.JDOMException
- java.io.IOException
- public void readDocument(java.io.InputStreamReader inputfile, boolean validate) throws org.jdom.JDOMException, java.io.IOException
inputfile
- InputStreamReader to parse document from.org.jdom.JDOMException
- java.io.IOException
- public void readDocument(java.net.URL url) throws org.jdom.JDOMException, java.io.IOException
inputfile
- InputStreamReader to parse document from.org.jdom.JDOMException
- java.io.IOException
- public void readDocument(java.net.URL url, boolean validate) throws org.jdom.JDOMException, java.io.IOException
inputfile
- InputStreamReader to parse document from.org.jdom.JDOMException
- java.io.IOException
- public void writeDocument(java.io.OutputStreamWriter outputfile) throws java.io.IOException
outputfile
- OutputStreamWriter to stream the output to.java.io.IOException
- public void setDocument(org.jdom.Document document)
document
- New value of property document.public java.lang.String getDTD()
public void setDTD(java.lang.String dtdname)
dtdname
- String value of name of the DTD element.
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |