massim.visualization.svg
Class SvgXmlFile

java.lang.Object
  extended by massim.visualization.svg.SvgXmlFile
Direct Known Subclasses:
GraphPolicy, MainPolicy, PreviewSvg

public class SvgXmlFile
extends java.lang.Object


Field Summary
protected  java.lang.String svgEnding
           
 
Constructor Summary
SvgXmlFile()
           
 
Method Summary
 org.w3c.dom.Document generateXML()
          generate a XML-File
 org.w3c.dom.Document openFile(org.w3c.dom.Document doc, java.lang.String myFile)
          parse an xml
 void saveXML(org.w3c.dom.Document mainDoc, java.lang.String myFile)
          save given document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

svgEnding

protected java.lang.String svgEnding
Constructor Detail

SvgXmlFile

public SvgXmlFile()
Method Detail

generateXML

public org.w3c.dom.Document generateXML()
generate a XML-File

Parameters:
return - genertated document

openFile

public org.w3c.dom.Document openFile(org.w3c.dom.Document doc,
                                     java.lang.String myFile)
parse an xml

Parameters:
doc -
myFile -
Returns:
the new File

saveXML

public void saveXML(org.w3c.dom.Document mainDoc,
                    java.lang.String myFile)
save given document

Parameters:
mainDoc - Document to save
myFile - path where Document will save


Copyright © 2011. All Rights Reserved.