org.openstreetmap.josm.io.session
Class SessionWriter.ExportSupport
java.lang.Object
org.openstreetmap.josm.io.session.SessionWriter.ExportSupport
- Enclosing class:
- SessionWriter
public class SessionWriter.ExportSupport
- extends java.lang.Object
Field Summary |
private org.w3c.dom.Document |
doc
|
private int |
layerIndex
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
private org.w3c.dom.Document doc
layerIndex
private int layerIndex
SessionWriter.ExportSupport
public SessionWriter.ExportSupport(org.w3c.dom.Document doc,
int layerIndex)
createElement
public org.w3c.dom.Element createElement(java.lang.String name)
createTextNode
public org.w3c.dom.Text createTextNode(java.lang.String text)
getLayerIndex
public int getLayerIndex()
getOutputStreamZip
public java.io.OutputStream getOutputStreamZip(java.lang.String zipPath)
throws java.io.IOException
- Create a file in the zip archive.
- Returns:
- never close the output stream, but make sure to flush buffers
- Throws:
java.io.IOException
isZip
public boolean isZip()
JOSM