|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.persistence.XMLFileWriter
XMLFileWriter
| Method Summary | |
static void |
writeFile(java.lang.String location,
java.lang.String dtd,
AttributeList data,
boolean sort,
java.lang.String itemName,
java.lang.String descriptorName)
This method writes a given portion of data into an xml file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void writeFile(java.lang.String location,
java.lang.String dtd,
AttributeList data,
boolean sort,
java.lang.String itemName,
java.lang.String descriptorName)
throws WriteException
AttributeList elements. This method creates a new File and
adds the data, if the file doesn't exist.
location - The directory location for the target file.dtd - The required DTD for the xml output.data - the xml output.sort - if set to true the merge of the lists will be
done by sorting the values.itemName - name of the Name Attribute of the Items part.descriptorName - name of the Name Attribute of the Items part.
WriteException - thrown if writing to the file given through
location fails
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||