|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectex1.SaveXML
This class handles saving crop and operation data back to XML files.
| Constructor Summary | |
SaveXML(java.lang.String topdir,
DefnFileParser names,
WepsDBFile wfile,
boolean isCrop)
Creates a new instance of SaveXML class |
|
| Method Summary | |
void |
cloneFile(java.lang.String fsource,
java.lang.String fdest,
boolean removeActions)
Makes a copy of a file. |
boolean |
createFile(java.lang.String file)
This builds a new XML file almost from scratch. |
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base2)
|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicID,
java.lang.String sysID)
Called automatically by the loader to find where DTD's are located |
boolean |
saveFile(java.lang.String file)
Save the specified file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SaveXML(java.lang.String topdir,
DefnFileParser names,
WepsDBFile wfile,
boolean isCrop)
topdir - directory where mcrew config files are foundnames - all parameters read from DEFN filewfile - WepsDBFile instance of file to saveisCrop - true if this is crop XML| Method Detail |
public org.xml.sax.InputSource resolveEntity(java.lang.String publicID,
java.lang.String sysID)
resolveEntity in interface org.xml.sax.EntityResolverpublic boolean saveFile(java.lang.String file)
file - the name to save the data to
public boolean createFile(java.lang.String file)
file - the name of the file to create
public void cloneFile(java.lang.String fsource,
java.lang.String fdest,
boolean removeActions)
fsource - starting filefdest - name of new fileremoveActions - true if all process info is stripped
public javax.xml.transform.Source resolve(java.lang.String href,
java.lang.String base2)
throws javax.xml.transform.TransformerException
resolve in interface javax.xml.transform.URIResolverjavax.xml.transform.TransformerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||