translate
Class DataExporter
java.lang.Object
translate.DataExporter
public class DataExporter
- extends java.lang.Object
Class for exported a map to an XML file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_CLASS
public static final java.lang.String CONTEXT_CLASS
- See Also:
- Constant Field Values
PROCESS_CLASS
public static final java.lang.String PROCESS_CLASS
- See Also:
- Constant Field Values
document
org.w3c.dom.Document document
DataExporter
public DataExporter()
createBeansElement
private org.w3c.dom.Element createBeansElement()
- Create the black background rectangle
createContextElement
public void createContextElement(org.w3c.dom.Element elem)
createProcessorElement
public void createProcessorElement(java.util.ArrayList<java.lang.String> names,
org.w3c.dom.Element elem)
exportCorridors
public void exportCorridors(java.lang.String corridorFile,
java.util.HashSet<OntologyObject> corridors)
exportDoors
public void exportDoors(java.lang.String doorFile,
java.util.HashSet<OntologyObject> doors,
java.util.HashSet<OntologyObject> objects,
java.util.ArrayList<EdgeFacade> voronoiEdges)
exportRoute
public void exportRoute(java.lang.String routeFile,
java.util.List<DecisionPoint> decisionPoints,
java.util.List<Edge> edges)
- Exports the map to the specifed file.
- Parameters:
mapFile
- - the file to write